{ "info": { "author": "Eric Wieser", "author_email": "wieser.eric+numpy@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "numpy\\_ringbuffer\r\n=================\r\n\r\n|Build Status| |codecov|\r\n\r\nRing (aka circular) buffers backed by a numpy array, supporting:\r\n\r\n- Operations from ``collections.deque``\r\n- ``b.append(val)``\r\n- ``b.appendleft(val)``\r\n- ``b.extend(val)``\r\n- ``b.extendleft(val)``\r\n- ``b.pop(val)``\r\n- ``b.popleft(val)``\r\n- The ``collections.Sequence`` protocol (unoptimized)\r\n- C-side unwrapping into an array with ``np.array(b)``\r\n- Arbitrary element dtypes, including extra dimensions like\r\n ``RingBuffer(N, dtype=(int, 3))``\r\n\r\nFor example:\r\n\r\n.. code:: python\r\n\r\n import numpy as np\r\n from numpy_ringbuffer import RingBuffer\r\n\r\n r = RingBuffer(capacity=4, dtype=np.bool)\r\n r.append(True)\r\n r.appendleft(False)\r\n print(np.array(r)) # array([False, True])\r\n\r\n.. |Build Status| image:: https://travis-ci.org/eric-wieser/numpy_ringbuffer.svg?branch=master\r\n :target: https://travis-ci.org/eric-wieser/numpy_ringbuffer\r\n.. |codecov| image:: https://codecov.io/gh/eric-wieser/numpy_ringbuffer/branch/master/graph/badge.svg\r\n :target: https://codecov.io/gh/eric-wieser/numpy_ringbuffer\r\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/eric-wieser/numpy_ringbuffer/tarball/v0.2.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/eric-wieser/numpy_ringbuffer", "keywords": "numpy", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "numpy_ringbuffer", "package_url": "https://pypi.org/project/numpy_ringbuffer/", "platform": "", "project_url": "https://pypi.org/project/numpy_ringbuffer/", "project_urls": { "Download": "https://github.com/eric-wieser/numpy_ringbuffer/tarball/v0.2.1", "Homepage": "https://github.com/eric-wieser/numpy_ringbuffer" }, "release_url": "https://pypi.org/project/numpy_ringbuffer/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "Ring buffer implementation for numpy", "version": "0.2.1" }, "last_serial": 2640869, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a028d203e616f370d4f7b7a7edeb783f", "sha256": "8cb3245eb30d269249fcc9c67a566e59b88fb3c1b8733f127d75db55ea13c0e6" }, "downloads": -1, "filename": "numpy_ringbuffer-0.1.0.zip", "has_sig": false, "md5_digest": "a028d203e616f370d4f7b7a7edeb783f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3576, "upload_time": "2016-11-14T15:38:26", "url": "https://files.pythonhosted.org/packages/64/60/833361d0ce0fc21d1b6b5294ebb546d40da8fcf70244fbb5bce5e91a7eac/numpy_ringbuffer-0.1.0.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "b335d0426d8092dbb2cbaf5a05bb9d46", "sha256": "e9523368eae3a0d8439da9bdd634f50bfbabde21fc2174e04d4d735064fa87a4" }, "downloads": -1, "filename": "numpy_ringbuffer-0.1.1.zip", "has_sig": false, "md5_digest": "b335d0426d8092dbb2cbaf5a05bb9d46", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3524, "upload_time": "2016-11-14T15:57:51", "url": "https://files.pythonhosted.org/packages/2f/58/a06127a1c6b9f090f309aea6c5cf85f3bb45a4ca6cf1c000b509029684e1/numpy_ringbuffer-0.1.1.zip" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "fcca545ff7939b7932b1c8b7654089bf", "sha256": "bffe94d6b6edd9e1e0538c8fc8b8bdf4379969e7372002b6eb3987741722fbff" }, "downloads": -1, "filename": "numpy_ringbuffer-0.2.0.zip", "has_sig": false, "md5_digest": "fcca545ff7939b7932b1c8b7654089bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5338, "upload_time": "2016-11-14T18:34:44", "url": "https://files.pythonhosted.org/packages/7d/82/eaf542a9d28624a240d5418efed28f1fe352d59205986c0a53fb5abeaf0a/numpy_ringbuffer-0.2.0.zip" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "16ccfc13e521fcac78ab4552ec75d9f5", "sha256": "cf92824565258b9d59a6fd39a7b50af08f0733f0b15c819e82eafdf28989b1d6" }, "downloads": -1, "filename": "numpy_ringbuffer-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "16ccfc13e521fcac78ab4552ec75d9f5", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 3834, "upload_time": "2017-02-14T12:10:22", "url": "https://files.pythonhosted.org/packages/ef/a0/3f601e7a6c0a8732feca053cf0a756579e7cd2ae362f8497285d6dc1914c/numpy_ringbuffer-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "541f4263dd6194ff6a8ab26a92386f52", "sha256": "ac79c60b6d92a688ad152a11d351d9efc2e0749973f71e18a8c9b3b1241a3cef" }, "downloads": -1, "filename": "numpy_ringbuffer-0.2.1.tar.gz", "has_sig": false, "md5_digest": "541f4263dd6194ff6a8ab26a92386f52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3337, "upload_time": "2017-02-13T22:16:13", "url": "https://files.pythonhosted.org/packages/93/8e/01693737a7a1b955137b8e45e40fedf155f031f5f824220a6a6ce887baea/numpy_ringbuffer-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "16ccfc13e521fcac78ab4552ec75d9f5", "sha256": "cf92824565258b9d59a6fd39a7b50af08f0733f0b15c819e82eafdf28989b1d6" }, "downloads": -1, "filename": "numpy_ringbuffer-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "16ccfc13e521fcac78ab4552ec75d9f5", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 3834, "upload_time": "2017-02-14T12:10:22", "url": "https://files.pythonhosted.org/packages/ef/a0/3f601e7a6c0a8732feca053cf0a756579e7cd2ae362f8497285d6dc1914c/numpy_ringbuffer-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "541f4263dd6194ff6a8ab26a92386f52", "sha256": "ac79c60b6d92a688ad152a11d351d9efc2e0749973f71e18a8c9b3b1241a3cef" }, "downloads": -1, "filename": "numpy_ringbuffer-0.2.1.tar.gz", "has_sig": false, "md5_digest": "541f4263dd6194ff6a8ab26a92386f52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3337, "upload_time": "2017-02-13T22:16:13", "url": "https://files.pythonhosted.org/packages/93/8e/01693737a7a1b955137b8e45e40fedf155f031f5f824220a6a6ce887baea/numpy_ringbuffer-0.2.1.tar.gz" } ] }