{ "info": { "author": "Jiawen Guan", "author_email": "jesus.jiawen@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "cuckoofilter\n=========\nCuckoofilter is an implementation of Cuckoo Filter using Python, which is thread-safe.\nBesides, the package can both be used in python2.x and python3.x.\n\nCuckoo Filter\n---------\nCuckoo filter first appeared in the paper \n`Cuckoo Filter: Practically Better Than Bloom `_\nby Bin Fan,David G. Andersen, Michael Kaminsky and Michael D. Mitzenmacher, which is used to\nreplace Bloom filters for approximate set membership tests. Cuckoo filters support \nadding and removing items dynamically while achieving even higher performance than\nBloom filters. For applications that store many items and target moderately low \nfalse positive rates, cuckoo filters have lower space overhead than space-optimized \nBloom filters.\n\nTo know more details of Cuckoo Filter, please read the paper.\n\nInstallation\n---------\nInstall cuckoofilter:\n\n.. code-block::\n\n $ pip install cuckoopy\nOr\n\n.. code-block::\n\n $ pip3 install cuckoopy\n\nUsage\n---------\n.. code-block:: python\n\n >>> import cuckoofilter\n >>> cf = cuckoofilter.CuckooFilter(capacity=100, fingerprint_size=1)\n\n >>> cf.insert('test')\n True\n\n >>> cf.contains('test')\n True\n\n >>> cf.delete('test')\n True\n\n\nTesting\n---------\nTo test the package and generate a test coverage report, you should run\n.. code-block::\n\n $ pip install pytest coverage pytest-cov\n $ pytest -v -cov=cuckoofilter --cov-report html\n\nOr\n.. code-block::\n\n $ pip3 install pytest coverage pytest-cov\n $ python3 -m pytest .\n\nLicense\n---------\n`GPL-3.0 License `_\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/shenaishiren/cuckoofilter", "keywords": "", "license": "GPL-3.0", "maintainer": "", "maintainer_email": "", "name": "cuckoofilter", "package_url": "https://pypi.org/project/cuckoofilter/", "platform": "", "project_url": "https://pypi.org/project/cuckoofilter/", "project_urls": { "Homepage": "https://github.com/shenaishiren/cuckoofilter" }, "release_url": "https://pypi.org/project/cuckoofilter/0.0.0.1/", "requires_dist": [ "mmh3" ], "requires_python": "", "summary": "Cuckoo Filter implementation using Python", "version": "0.0.0.1" }, "last_serial": 3385926, "releases": { "0.0.0.1": [ { "comment_text": "", "digests": { "md5": "cc7bac933e9709c835570f4745a79dc3", "sha256": "e39495225affac548fa208afaa88d8fdcea4d6404a463044adbb1063ba331e2d" }, "downloads": -1, "filename": "cuckoofilter-0.0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cc7bac933e9709c835570f4745a79dc3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6657, "upload_time": "2017-12-04T02:43:14", "url": "https://files.pythonhosted.org/packages/78/98/66c479eaeb5dec9f9c52d18f3e3f6e05b4311657d257be494a4623f05224/cuckoofilter-0.0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e73d0e37a6177326665132f094cb9011", "sha256": "c69c8d791cf8ae0e11f1a90fd924398ccd7786b52f6c630146c517a59e1c26ce" }, "downloads": -1, "filename": "cuckoofilter-0.0.0.1.tar.gz", "has_sig": false, "md5_digest": "e73d0e37a6177326665132f094cb9011", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3970, "upload_time": "2017-12-04T02:43:16", "url": "https://files.pythonhosted.org/packages/f2/ce/3bbf3aadae338ce8157a2ba8e0a428b64dbbecb6231aff71d4796e1dc309/cuckoofilter-0.0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cc7bac933e9709c835570f4745a79dc3", "sha256": "e39495225affac548fa208afaa88d8fdcea4d6404a463044adbb1063ba331e2d" }, "downloads": -1, "filename": "cuckoofilter-0.0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cc7bac933e9709c835570f4745a79dc3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6657, "upload_time": "2017-12-04T02:43:14", "url": "https://files.pythonhosted.org/packages/78/98/66c479eaeb5dec9f9c52d18f3e3f6e05b4311657d257be494a4623f05224/cuckoofilter-0.0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e73d0e37a6177326665132f094cb9011", "sha256": "c69c8d791cf8ae0e11f1a90fd924398ccd7786b52f6c630146c517a59e1c26ce" }, "downloads": -1, "filename": "cuckoofilter-0.0.0.1.tar.gz", "has_sig": false, "md5_digest": "e73d0e37a6177326665132f094cb9011", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3970, "upload_time": "2017-12-04T02:43:16", "url": "https://files.pythonhosted.org/packages/f2/ce/3bbf3aadae338ce8157a2ba8e0a428b64dbbecb6231aff71d4796e1dc309/cuckoofilter-0.0.0.1.tar.gz" } ] }