{ "info": { "author": "Keith Goodman", "author_email": "bottle-neck@googlegroups.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: C", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering" ], "description": "Bottleneck is a collection of fast NumPy array functions written in C.\n\nLet's give it a try. Create a NumPy array::\n\n >>> import numpy as np\n >>> a = np.array([1, 2, np.nan, 4, 5])\n\nFind the nanmean::\n\n >>> import bottleneck as bn\n >>> bn.nanmean(a)\n 3.0\n\nMoving window mean::\n\n >>> bn.move_mean(a, window=2, min_count=1)\n array([ 1. , 1.5, 2. , 4. , 4.5])\n\nBenchmark\n=========\n\nBottleneck comes with a benchmark suite::\n\n >>> bn.bench()\n Bottleneck performance benchmark\n Bottleneck 1.3.0.dev0; Numpy 1.12.1\n Speed is NumPy time divided by Bottleneck time\n NaN means approx one-fifth NaNs; float64 used\n\n no NaN no NaN NaN no NaN NaN\n (100,) (1000,1000)(1000,1000)(1000,1000)(1000,1000)\n axis=0 axis=0 axis=0 axis=1 axis=1\n nansum 67.3 0.3 0.7 2.5 2.4\n nanmean 194.8 1.9 2.1 3.4 3.1\n nanstd 241.5 1.6 2.1 2.7 2.6\n nanvar 229.7 1.7 2.1 2.7 2.5\n nanmin 34.1 0.7 1.1 0.8 2.6\n nanmax 45.6 0.7 2.7 1.0 3.7\n median 111.0 1.3 5.6 1.0 4.8\n nanmedian 108.8 5.9 6.7 5.6 6.7\n ss 16.3 1.1 1.2 1.6 1.6\n nanargmin 89.2 2.9 5.1 2.2 5.6\n nanargmax 107.4 3.0 5.4 2.2 5.8\n anynan 19.4 0.3 35.0 0.5 29.9\n allnan 39.9 146.6 128.3 115.8 75.6\n rankdata 55.0 2.6 2.3 2.9 2.8\n nanrankdata 59.8 2.8 2.2 3.2 2.5\n partition 4.4 1.2 1.6 1.0 1.4\n argpartition 3.5 1.1 1.4 1.1 1.6\n replace 17.7 1.4 1.4 1.3 1.4\n push 3440.0 7.8 9.5 20.0 15.5\n move_sum 4743.0 75.7 156.1 195.4 211.1\n move_mean 8760.9 116.2 167.4 252.1 258.8\n move_std 8979.9 96.1 196.3 144.0 256.3\n move_var 11216.8 127.3 243.9 225.9 321.4\n move_min 2245.3 20.6 36.7 23.2 42.1\n move_max 2223.7 20.5 37.2 24.1 42.4\n move_argmin 3664.0 48.2 73.3 40.2 83.9\n move_argmax 3916.9 42.0 75.4 41.5 81.2\n move_median 2023.3 166.8 173.7 153.8 154.3\n move_rank 1208.5 1.9 1.9 2.5 2.8\n\nYou can also run a detailed benchmark for a single function using, for\nexample, the command::\n\n >>> bn.bench_detailed(\"move_median\", fraction_nan=0.3)\n\nOnly arrays with data type (dtype) int32, int64, float32, and float64 are\naccelerated. All other dtypes result in calls to slower, unaccelerated\nfunctions. In the rare case of a byte-swapped input array (e.g. a big-endian\narray on a little-endian operating system) the function will not be\naccelerated regardless of dtype.\n\nWhere\n=====\n\n=================== ========================================================\n download https://pypi.python.org/pypi/Bottleneck\n docs http://berkeleyanalytics.com/bottleneck\n code https://github.com/kwgoodman/bottleneck\n mailing list https://groups.google.com/group/bottle-neck\n=================== ========================================================\n\nLicense\n=======\n\nBottleneck is distributed under a Simplified BSD license. See the LICENSE file\nfor details.\n\nInstall\n=======\n\nRequirements:\n\n======================== ====================================================\nBottleneck Python 2.7, 3.5, 3.6; NumPy 1.12.1\nCompile gcc, clang, MinGW or MSVC\nUnit tests nose\n======================== ====================================================\n\nTo install Bottleneck on GNU/Linux, Mac OS X, et al.::\n\n $ sudo python setup.py install\n\nTo install bottleneck on Windows, first install MinGW and add it to your\nsystem path. Then install Bottleneck with the commands::\n\n python setup.py install --compiler=mingw32\n\nAlternatively, you can use the Windows binaries created by Christoph Gohlke:\nhttp://www.lfd.uci.edu/~gohlke/pythonlibs/#bottleneck\n\nUnit tests\n==========\n\nAfter you have installed Bottleneck, run the suite of unit tests::\n\n >>> import bottleneck as bn\n >>> bn.test()\n \n Ran 169 tests in 57.205s\n OK\n ", "description_content_type": null, "docs_url": null, "download_url": "http://pypi.python.org/pypi/Bottleneck", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kwgoodman/bottleneck", "keywords": null, "license": "Simplified BSD", "maintainer": null, "maintainer_email": null, "name": "Bottleneck", "package_url": "https://pypi.org/project/Bottleneck/", "platform": "OS Independent", "project_url": "https://pypi.org/project/Bottleneck/", "project_urls": { "Download": "http://pypi.python.org/pypi/Bottleneck", "Homepage": "https://github.com/kwgoodman/bottleneck" }, "release_url": "https://pypi.org/project/Bottleneck/1.2.1/", "requires_dist": null, "requires_python": null, "summary": "Fast NumPy array functions written in C", "version": "1.2.1" }, "last_serial": 5933085, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b33647bcfdc4d39740923adf617ca9c0", "sha256": "cf508f0a61daa2111c1eb5f22cd6760b71922c2c027172ccae53784547e5151a" }, "downloads": -1, "filename": "bottleneck-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b33647bcfdc4d39740923adf617ca9c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 324543, "upload_time": "2010-12-01T17:38:46", "url": "https://files.pythonhosted.org/packages/38/46/82f29b4db836f1571952feb14e1e78a33d2a400a71a3e0b79b7221ed944c/bottleneck-0.1.0.tar.gz" } ], "0.1.0dev": [ { "comment_text": "", "digests": { "md5": "d29e652b523f59b61456397e1ae1ceda", "sha256": "f81c8f2f1ce8adb28cc6dda8ca6d5330db100a5b6fad863c3ed0c7e5138e6183" }, "downloads": -1, "filename": "bottleneck-0.1.0dev.tar.gz", "has_sig": false, "md5_digest": "d29e652b523f59b61456397e1ae1ceda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 296746, "upload_time": "2010-11-28T02:27:37", "url": "https://files.pythonhosted.org/packages/fd/d5/9649788aee1219de92a9e3d88d322f29b3d95f121140b40eb3156a0ff81a/bottleneck-0.1.0dev.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "4af6abd74f841e44326d5a62270a6275", "sha256": "9081c3ea3efdbfc669e7f5a0868c127859404f9d9d5ff2045effe2984a98622b" }, "downloads": -1, "filename": "Bottleneck-0.2.0.tar.gz", "has_sig": false, "md5_digest": "4af6abd74f841e44326d5a62270a6275", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 566189, "upload_time": "2010-12-27T20:42:02", "url": "https://files.pythonhosted.org/packages/d8/7d/36ae564ffc7ce2375091ff2debf3a0d84f112d9e28f56d2e45dd9a2d78a2/Bottleneck-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "46086d5bf11da0531c83161417ba7f32", "sha256": "cbe25e15637e70cb95e54f469ba875e4ea4b81e0ce426bbccc3447d797da1e31" }, "downloads": -1, "filename": "Bottleneck-0.3.0.tar.gz", "has_sig": false, "md5_digest": "46086d5bf11da0531c83161417ba7f32", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 898629, "upload_time": "2011-01-20T00:39:10", "url": "https://files.pythonhosted.org/packages/d5/41/0c660e2b80fde52aa81c14228a8c73c31cc4918f2c19729618ad01483088/Bottleneck-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "73b8fcd53088e985f70a75b093ecb88f", "sha256": "3581536061ee37b18a2606f098325b6a7f64444d7958caa321f64504d06ee2a2" }, "downloads": -1, "filename": "Bottleneck-0.4.0_32bitOS.tar.gz", "has_sig": false, "md5_digest": "73b8fcd53088e985f70a75b093ecb88f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 981135, "upload_time": "2011-03-08T18:21:05", "url": "https://files.pythonhosted.org/packages/40/d6/84d835dd8eba87a0c85a86a2eddeac69859742d8085b0d7f4b3530910b21/Bottleneck-0.4.0_32bitOS.tar.gz" }, { "comment_text": "", "digests": { "md5": "bf89110d3236cb871575d96c2c26031a", "sha256": "e70a5abb8da2e22f46ba0e8a1470b04f562c82f19aea5e9428703402f2c33a32" }, "downloads": -1, "filename": "Bottleneck-0.4.0_64bitOS.tar.gz", "has_sig": false, "md5_digest": "bf89110d3236cb871575d96c2c26031a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 981218, "upload_time": "2011-03-08T18:21:36", "url": "https://files.pythonhosted.org/packages/c4/54/b8187f1cd248668d192a8962ebe06f3189c97ef7fee4fdbeea41ba05c7f4/Bottleneck-0.4.0_64bitOS.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "162544f14cfd885e07fdaf1c845c7d6c", "sha256": "9a2c41ad71f29dc3d3b97c42ee060b78d171b548c2ee8ea2313cd4fe8528cf61" }, "downloads": -1, "filename": "Bottleneck-0.4.1_32bitOS.tar.gz", "has_sig": false, "md5_digest": "162544f14cfd885e07fdaf1c845c7d6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 982300, "upload_time": "2011-03-08T22:00:49", "url": "https://files.pythonhosted.org/packages/5a/34/9756d7320c1080f00320015009b98dbcf1b01e1dbc5bd79b6887274d0e86/Bottleneck-0.4.1_32bitOS.tar.gz" }, { "comment_text": "", "digests": { "md5": "ab20d058f8575c07942a145a8230f43d", "sha256": "79c86b0bb380ce8024d989759e65b4cff2c3a7c6a6ae3302a83132f6d68f2034" }, "downloads": -1, "filename": "Bottleneck-0.4.1_64bitOS.tar.gz", "has_sig": false, "md5_digest": "ab20d058f8575c07942a145a8230f43d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 982336, "upload_time": "2011-03-08T22:01:32", "url": "https://files.pythonhosted.org/packages/18/ed/e8644b3810ec077982b11f28668bab4b9da4073bbbcfc2c970536d536e59/Bottleneck-0.4.1_64bitOS.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "5d0ca72f80514db521793cae13b719d6", "sha256": "9f081eebbd67d32ed3b658871ef6efbbdd34da3ec16367656feefa173bf95db9" }, "downloads": -1, "filename": "Bottleneck-0.4.2_32bitOS.tar.gz", "has_sig": false, "md5_digest": "5d0ca72f80514db521793cae13b719d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 981334, "upload_time": "2011-03-09T00:02:01", "url": "https://files.pythonhosted.org/packages/05/9e/1a8439a7c0305ed40c8e7da27311c0117d7c6db16f2c3a0e30f99ea4752f/Bottleneck-0.4.2_32bitOS.tar.gz" }, { "comment_text": "", "digests": { "md5": "4cbd9273b7e388e93598beff2bdc8bf7", "sha256": "a57f68c817aa76761a6a04ea56ce551e858379f3bdb5fdfefa52046445299d4a" }, "downloads": -1, "filename": "Bottleneck-0.4.2_64bitOS.tar.gz", "has_sig": false, "md5_digest": "4cbd9273b7e388e93598beff2bdc8bf7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 981402, "upload_time": "2011-03-09T00:02:33", "url": "https://files.pythonhosted.org/packages/bf/e6/5db7fd280405d2209b45cd2bf08936d4c55fc4db70922dc52bd78fce6416/Bottleneck-0.4.2_64bitOS.tar.gz" } ], "0.4.3": [ { "comment_text": "", "digests": { "md5": "eeb27285cda6cbbe133d25821b53632f", "sha256": "17f2765e063a7bccc146ab85671f16f98debdbdca6c3d24900b1369146c9806b" }, "downloads": -1, "filename": "Bottleneck-0.4.3_32bitOS.tar.gz", "has_sig": false, "md5_digest": "eeb27285cda6cbbe133d25821b53632f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 994552, "upload_time": "2011-03-17T18:21:58", "url": "https://files.pythonhosted.org/packages/e0/9b/a69594e3ada90ae2aa3631be2f67203a846745bb0cbeeba1b9358e0d7982/Bottleneck-0.4.3_32bitOS.tar.gz" }, { "comment_text": "", "digests": { "md5": "6d71c10061db4189f58583260b160b33", "sha256": "992c726cffe4b4e5f766b437c4423467e9e22c9258df46b3fff5c42e4d6eb39e" }, "downloads": -1, "filename": "Bottleneck-0.4.3_64bitOS.tar.gz", "has_sig": false, "md5_digest": "6d71c10061db4189f58583260b160b33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 994604, "upload_time": "2011-03-17T18:22:36", "url": "https://files.pythonhosted.org/packages/fd/a0/05c5d8a472ece292592b2451202836fd8379f9a7044db33f27b5c5708225/Bottleneck-0.4.3_64bitOS.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "65f2b3be0ca74b859392d554a48a0906", "sha256": "e4e0873dc2baf8df8ec4cf846c0b1209eb6713831e1324274c0e7a65192eb046" }, "downloads": -1, "filename": "Bottleneck-0.5.0.tar.gz", "has_sig": false, "md5_digest": "65f2b3be0ca74b859392d554a48a0906", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2210163, "upload_time": "2011-06-13T23:28:20", "url": "https://files.pythonhosted.org/packages/d9/ab/8eb683647d28dd08411e255dcbfbbd7d28c714ddf0a156e90ac09896f313/Bottleneck-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "44ede1261fae49445b695ac861e48cb9", "sha256": "eddfdc0492e7b0d2749d4a8861503186446d09d73f3eeb3f064a80313ded2f65" }, "downloads": -1, "filename": "Bottleneck-0.6.0.tar.gz", "has_sig": false, "md5_digest": "44ede1261fae49445b695ac861e48cb9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3171952, "upload_time": "2012-06-04T18:55:00", "url": "https://files.pythonhosted.org/packages/ea/94/4b03d76c8c417339543419e2061c082e60c96654927851b5f2d5406c6223/Bottleneck-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "d9e346919654896d67e304ee0202d628", "sha256": "8d7bc7eac458632603fc10c71f26c0f9f976293ff394f48efae6ecd4c79b21fc" }, "downloads": -1, "filename": "Bottleneck-0.7.0.tar.gz", "has_sig": false, "md5_digest": "d9e346919654896d67e304ee0202d628", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1634309, "upload_time": "2013-09-10T16:41:52", "url": "https://files.pythonhosted.org/packages/4d/1b/7084dbfa61176fa90a250c7cd8acf628f5b1b268f8da1ee95c2ecc0a6c5d/Bottleneck-0.7.0.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "1a363fa35ce521eebb838e1bd6520e24", "sha256": "f0a980510239f685ebaf4dbc8c9f0e55ac964312e0d11c551208c250d22cc64b" }, "downloads": -1, "filename": "Bottleneck-0.8.0.tar.gz", "has_sig": false, "md5_digest": "1a363fa35ce521eebb838e1bd6520e24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1634340, "upload_time": "2014-01-21T18:44:46", "url": "https://files.pythonhosted.org/packages/50/b7/85dc8f2f15702c457e5f5f4930466090d61fa06de757144c6aaa7c134cd5/Bottleneck-0.8.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "380fa6f275bd24f27e7cf0e0d752f5d2", "sha256": "8d9b7ad4fadf9648acc924a6ee522c7cb5b474e75faaad9d90dfd55e2805b495" }, "downloads": -1, "filename": "Bottleneck-1.0.0.tar.gz", "has_sig": false, "md5_digest": "380fa6f275bd24f27e7cf0e0d752f5d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 363223, "upload_time": "2015-02-06T16:36:22", "url": "https://files.pythonhosted.org/packages/12/5c/567d4b3b764013cd22451d0aeba4a9fc7dbde08f16752b808adae1aba776/Bottleneck-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "0709af81bc0ef46276ee7bdcbf375659", "sha256": "c3a52b843509bd8d9ef240f0ce2f3e57d05277f85c3239196e3d8979fe5d33de" }, "downloads": -1, "filename": "Bottleneck-1.1.0.tar.gz", "has_sig": false, "md5_digest": "0709af81bc0ef46276ee7bdcbf375659", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 436088, "upload_time": "2016-06-22T20:27:23", "url": "https://files.pythonhosted.org/packages/ee/03/87184554866dcbf9265782860047031b65cac807773903cf2d33d6f7348f/Bottleneck-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "d9e019e4ec94d74077289c68a22dcfe8", "sha256": "3bec84564a4adbe97c24e875749b949a19cfba4e4588be495cc441db7c6b05e8" }, "downloads": -1, "filename": "Bottleneck-1.2.0.tar.gz", "has_sig": false, "md5_digest": "d9e019e4ec94d74077289c68a22dcfe8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 92504, "upload_time": "2016-10-20T18:54:27", "url": "https://files.pythonhosted.org/packages/96/c0/fb8fbc6cfa22c8a898a4bcb6f31a823c8456c960a3f27d57359ac61a4c36/Bottleneck-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "7fbe5f1194b2717dd8482da3679c0270", "sha256": "6efcde5f830aed64feafca0359b51db0e184c72af8ba6675b4a99f263922eb36" }, "downloads": -1, "filename": "Bottleneck-1.2.1.tar.gz", "has_sig": false, "md5_digest": "7fbe5f1194b2717dd8482da3679c0270", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 105225, "upload_time": "2017-05-15T16:49:17", "url": "https://files.pythonhosted.org/packages/05/ae/cedf5323f398ab4e4ff92d6c431a3e1c6a186f9b41ab3e8258dff786a290/Bottleneck-1.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7fbe5f1194b2717dd8482da3679c0270", "sha256": "6efcde5f830aed64feafca0359b51db0e184c72af8ba6675b4a99f263922eb36" }, "downloads": -1, "filename": "Bottleneck-1.2.1.tar.gz", "has_sig": false, "md5_digest": "7fbe5f1194b2717dd8482da3679c0270", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 105225, "upload_time": "2017-05-15T16:49:17", "url": "https://files.pythonhosted.org/packages/05/ae/cedf5323f398ab4e4ff92d6c431a3e1c6a186f9b41ab3e8258dff786a290/Bottleneck-1.2.1.tar.gz" } ] }