{ "info": { "author": "harveyz", "author_email": "zharvey@163.com", "bugtrack_url": null, "classifiers": [], "description": "cohash.py \n==================\n\n.. image:: https://badge.fury.io/py/cohash.svg?2\n :target: https://badge.fury.io/py/cohash?2\n\n.. image:: https://travis-ci.org/theharveyz/cohash.py.svg?branch=master\n :target: https://travis-ci.org/theharveyz/cohash.py\n\nConsistency hash algorithm implementation in Python\n\nInstall\n------------\n\n.. code-block:: shell\n\n pip install cohash\n\nUsage\n------------\n\n.. code-block:: python\n\n import cohash\n ch = cohash.Hash(nodes = [\n '192.168.01',\n '192.168.02',\n '192.168.03',\n '192.168.04',\n ], vnum = 1000)\n key = 'random-key'\n print ch.gen(key)\n\nLICENSE\n------------\n\nMIT\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/theharveyz/cohash.py", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "cohash", "package_url": "https://pypi.org/project/cohash/", "platform": "", "project_url": "https://pypi.org/project/cohash/", "project_urls": { "Homepage": "https://github.com/theharveyz/cohash.py" }, "release_url": "https://pypi.org/project/cohash/0.1.4/", "requires_dist": null, "requires_python": "", "summary": "Consistency hash algorithm implementation in Python.", "version": "0.1.4" }, "last_serial": 2700608, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "40e2298e3c9cbbb3ee2d9d52c858691c", "sha256": "3fea25ec5c7ecfcb9ac7f7dc515555159746d481934e7c065d57f867c153b635" }, "downloads": -1, "filename": "cohash-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "40e2298e3c9cbbb3ee2d9d52c858691c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3075, "upload_time": "2017-03-11T22:13:49", "url": "https://files.pythonhosted.org/packages/12/13/da209cbfae71b23c35f0740c8166f86cc990f9fe1eeabb6a9ade0d458128/cohash-0.1.2-py2.py3-none-any.whl" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "497554ce3f017998d9b763f4e12bf5b7", "sha256": "88872eb8ed4595bfe0231ca43344dba87579c198a3c913f321bd9b398c3df692" }, "downloads": -1, "filename": "cohash-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "497554ce3f017998d9b763f4e12bf5b7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3062, "upload_time": "2017-03-11T22:18:44", "url": "https://files.pythonhosted.org/packages/8a/97/154727e491a5eefa4e45c9bbaeebe9d06f5f959bd61a6479b302f5d761b0/cohash-0.1.3-py2.py3-none-any.whl" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "86bd71a257d0ae4c019c05fa432fcfc7", "sha256": "264f0a1edf4722839b7a15ad2cd74d86ab8edd349e89d07d493b9c32bc3bc3e1" }, "downloads": -1, "filename": "cohash-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "86bd71a257d0ae4c019c05fa432fcfc7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3086, "upload_time": "2017-03-12T15:23:58", "url": "https://files.pythonhosted.org/packages/f9/a4/2dd94260c16821a7dd7b0ed45d660f6366d2473b17f775b27e3016019d8e/cohash-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f9592d9f5ace2a2142c68bc2d74cfe9a", "sha256": "04cb5cb5fb40c1fc35d2792831d9c5f67ab636c8b3ff175b3bb6bde136b4a0fc" }, "downloads": -1, "filename": "cohash-0.1.4.tar.gz", "has_sig": false, "md5_digest": "f9592d9f5ace2a2142c68bc2d74cfe9a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2424, "upload_time": "2017-03-12T15:24:00", "url": "https://files.pythonhosted.org/packages/04/e4/1dd07097032c453c7d8d5ecdf4ebe419ba5986b421222ef3d80ce2a27316/cohash-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "86bd71a257d0ae4c019c05fa432fcfc7", "sha256": "264f0a1edf4722839b7a15ad2cd74d86ab8edd349e89d07d493b9c32bc3bc3e1" }, "downloads": -1, "filename": "cohash-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "86bd71a257d0ae4c019c05fa432fcfc7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3086, "upload_time": "2017-03-12T15:23:58", "url": "https://files.pythonhosted.org/packages/f9/a4/2dd94260c16821a7dd7b0ed45d660f6366d2473b17f775b27e3016019d8e/cohash-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f9592d9f5ace2a2142c68bc2d74cfe9a", "sha256": "04cb5cb5fb40c1fc35d2792831d9c5f67ab636c8b3ff175b3bb6bde136b4a0fc" }, "downloads": -1, "filename": "cohash-0.1.4.tar.gz", "has_sig": false, "md5_digest": "f9592d9f5ace2a2142c68bc2d74cfe9a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2424, "upload_time": "2017-03-12T15:24:00", "url": "https://files.pythonhosted.org/packages/04/e4/1dd07097032c453c7d8d5ecdf4ebe419ba5986b421222ef3d80ce2a27316/cohash-0.1.4.tar.gz" } ] }