{ "info": { "author": "Eugene Scherba", "author_email": "escherba+metrohash@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: C++", "Programming Language :: Cython", "Programming Language :: Python :: 2.7", "Topic :: Internet", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "MetroHash\n=========\n\nA Python wrapper around `MetroHash `__\n\n.. image:: https://img.shields.io/pypi/v/metrohash.svg\n :target: https://pypi.python.org/pypi/metrohash\n :alt: Latest Version\n\n.. image:: https://img.shields.io/pypi/dm/metrohash.svg\n :target: https://pypi.python.org/pypi/metrohash\n :alt: Downloads\n\n.. image:: https://circleci.com/gh/escherba/python-metrohash.png?style=shield\n :target: https://circleci.com/gh/escherba/python-metrohash\n :alt: Tests Status\n\nGetting Started\n---------------\n\nTo use this package in your program, simply enter\n\n.. code-block:: bash\n\n pip install metrohash\n\n\nAfter that, you should be able to import the module and do things with it (see\nExample Usage below).\n\nIf you want to contribute to this package by developing, the included Makefile\nprovides some useful commands to help you with that task:\n\n.. code-block:: bash\n\n git clone https://github.com/escherba/python-metrohash.git\n cd python-metrohash\n make env # creates a Python virtualenv\n make test # builds and runs C++ and Python tests\n\n\nExample Usage\n-------------\n\nThis package provides Python interfaces to 64- and 128-bit implementations\nof MetroHash algorithm. For stateless hashing, it exports ``metrohash64`` and\n``metrohash128`` functions. Both take a value to be hashed (either string or unicode) and\nan optional ``seed`` parameter:\n\n.. code-block:: python\n\n >>> import metrohash\n ...\n >>> metrohash.metrohash64(\"abc\", seed=0)\n 17099979927131455419L\n >>> metrohash.metrohash128(\"abc\")\n 182995299641628952910564950850867298725L\n\n\nFor incremental hashing, use ``MetroHash64`` and ``MetroHash128`` classes.\nIncremental hashing is associative and guarantees that any combination of\ninput slices will result in the same final hash value. This is useful for\nprocessing large inputs and stream data. Example with two slices:\n\n.. code-block:: python\n\n >>> mh = metrohash.MetroHash64()\n >>> mh.update(\"Nobody inspects\")\n >>> mh.update(\" the spammish repetition\")\n >>> mh.intdigest()\n 7851180100622203313L\n\nNote that the resulting hash value above is the same as in:\n\n.. code-block:: python\n\n >>> mh = metrohash.MetroHash64()\n >>> mh.update(\"Nobody inspects the spammish repetition\")\n >>> mh.intdigest()\n 7851180100622203313L\n\nSee Also\n--------\nFor other fast non-cryptographic hashing implementations available as Python extensions, see `CityHash `__ and `xxh `__.\n\nAuthors\n-------\nThe original MetroHash algorithm was designed by J. Andrew Rogers. The Python bindings in this package were written by Eugene Scherba.\n\nLicense\n-------\nThis software is licensed under the `MIT License\n`_.\nSee the included LICENSE file for more information.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/escherba/python-metrohash/tarball/master/0.0.13", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/escherba/python-metrohash", "keywords": "hash,hashing,metrohash,cityhash", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "metrohash", "package_url": "https://pypi.org/project/metrohash/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/metrohash/", "project_urls": { "Download": "https://github.com/escherba/python-metrohash/tarball/master/0.0.13", "Homepage": "https://github.com/escherba/python-metrohash" }, "release_url": "https://pypi.org/project/metrohash/0.0.13/", "requires_dist": null, "requires_python": null, "summary": "Python bindings for MetroHash, a fast non-cryptographic hash algorithm", "version": "0.0.13" }, "last_serial": 1790633, "releases": { "0.0.11": [ { "comment_text": "", "digests": { "md5": "5d8501b1727434a87c93628ba07d1974", "sha256": "ae169bf1bcc85d8f510b045de48f800f843d7566987a18fe7bcf7947ce40d3f9" }, "downloads": -1, "filename": "metrohash-0.0.11-cp27-none-macosx_10_10_x86_64.whl", "has_sig": false, "md5_digest": "5d8501b1727434a87c93628ba07d1974", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 22164, "upload_time": "2015-10-20T00:19:12", "url": "https://files.pythonhosted.org/packages/d0/a9/9b7a2c9597107d12c8c0d2b3c71f2aff312e76e4c25b7cf210dafba91b02/metrohash-0.0.11-cp27-none-macosx_10_10_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "4c6de33ef5268545678cacb39fbbfc2d", "sha256": "c2b3c718e565e9981b14e2a0bc2dee1503eaa1251ea8d38a58e2231f88646594" }, "downloads": -1, "filename": "metrohash-0.0.11.tar.gz", "has_sig": false, "md5_digest": "4c6de33ef5268545678cacb39fbbfc2d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10782, "upload_time": "2015-10-20T00:19:06", "url": "https://files.pythonhosted.org/packages/67/b8/8792ec14dfaf710a869aece6ce179ab4dd12c2dead4c386adc5afa330537/metrohash-0.0.11.tar.gz" } ], "0.0.12": [ { "comment_text": "", "digests": { "md5": "0cb1c8faa3b7dd7f149136b50598c109", "sha256": "4da52b151b38427c0cbe1da53774e28d98a8ec3634889a7b29864515a85d6bb5" }, "downloads": -1, "filename": "metrohash-0.0.12.tar.gz", "has_sig": false, "md5_digest": "0cb1c8faa3b7dd7f149136b50598c109", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11638, "upload_time": "2015-10-28T09:53:22", "url": "https://files.pythonhosted.org/packages/e6/d0/a634247c4c1bddd62e1c16bda8cfec376902472c0a86f2260f02f1ff1bac/metrohash-0.0.12.tar.gz" } ], "0.0.13": [ { "comment_text": "", "digests": { "md5": "ec11af9cb39d53fac2baf603f8664adb", "sha256": "e223d9bcb5b7627b1593b6478075080ab5e0ad5445b9ddda6b7748282e346b8c" }, "downloads": -1, "filename": "metrohash-0.0.13-cp27-none-macosx_10_10_x86_64.whl", "has_sig": false, "md5_digest": "ec11af9cb39d53fac2baf603f8664adb", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 22533, "upload_time": "2015-10-28T19:11:58", "url": "https://files.pythonhosted.org/packages/75/9b/0fe8af1dec3edb150f1d4ef4ca801c1a48e27377883228b252c395ec1d00/metrohash-0.0.13-cp27-none-macosx_10_10_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "a51cd114966288c8dcf594c53e3d1b7c", "sha256": "3e2ddb52c319b967d6a15166d2c7d9a5701a9bd0170262434fc8d6b1f70bb5ea" }, "downloads": -1, "filename": "metrohash-0.0.13.tar.gz", "has_sig": false, "md5_digest": "a51cd114966288c8dcf594c53e3d1b7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33947, "upload_time": "2015-10-28T19:11:53", "url": "https://files.pythonhosted.org/packages/c0/3a/e1740c9430ae8bb8f68301f6d0e894e644420e0f6c920b808f29832dd1a4/metrohash-0.0.13.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "d2d23b3c09a76947bfbe8d60ee4c9702", "sha256": "3f7b03131593d4a8ba52419900c8c2b305e2e351d3e0a6a24d14b7b7e5d5204e" }, "downloads": -1, "filename": "metrohash-0.0.4.tar.gz", "has_sig": false, "md5_digest": "d2d23b3c09a76947bfbe8d60ee4c9702", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9918, "upload_time": "2015-10-16T15:36:24", "url": "https://files.pythonhosted.org/packages/ec/d1/144f70c28d8f2c8ad4031d0b54fe59e7ca93eedab642ea9d50b362b07c92/metrohash-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "8921d1bbe8c03fc7bbca972090f60364", "sha256": "609ac009014734010f0abdaadd9447c7d04ee7df59e5246bd02665f47bf8824f" }, "downloads": -1, "filename": "metrohash-0.0.5.tar.gz", "has_sig": false, "md5_digest": "8921d1bbe8c03fc7bbca972090f60364", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9955, "upload_time": "2015-10-16T15:52:31", "url": "https://files.pythonhosted.org/packages/86/06/127c1aaa8932950a2b8d7622e651fda806632cfc466f64c15ecc155ed26e/metrohash-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "ec0ed5837ba542b7b626c10033c64771", "sha256": "1c74f1dca97ecd431cd47a81621938a1f71910ea5dd8c3496db2d8f0f3222fac" }, "downloads": -1, "filename": "metrohash-0.0.6-cp27-none-macosx_10_10_x86_64.whl", "has_sig": false, "md5_digest": "ec0ed5837ba542b7b626c10033c64771", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 19794, "upload_time": "2015-10-18T00:48:12", "url": "https://files.pythonhosted.org/packages/df/5a/682edc5ba736e00f6d0dafea35c66a39288f04337387a271ea635e3f012e/metrohash-0.0.6-cp27-none-macosx_10_10_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "2007056f5616717c6be2ee0659700278", "sha256": "5c6518f7a85e46e6891c3585b0d52ca22c8a96517dbff81082d5c6e501ad8356" }, "downloads": -1, "filename": "metrohash-0.0.6.tar.gz", "has_sig": false, "md5_digest": "2007056f5616717c6be2ee0659700278", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9451, "upload_time": "2015-10-18T00:48:02", "url": "https://files.pythonhosted.org/packages/07/02/07cb465ea4606aec6208922f3b36590fb7a2ef3a561dda6a724340982f2b/metrohash-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "13fe462187b09daf63d2735f3c37b833", "sha256": "75c99454c7a3a01ffddf209aca670f91239a8be28e4d35a565e29d8d5377c88e" }, "downloads": -1, "filename": "metrohash-0.0.7-cp27-none-macosx_10_10_x86_64.whl", "has_sig": false, "md5_digest": "13fe462187b09daf63d2735f3c37b833", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 20093, "upload_time": "2015-10-18T01:59:01", "url": "https://files.pythonhosted.org/packages/9c/7a/119057a001cfc614d2bdb674f8d968fa8dc0bcbf69dfc691f2a81f4bf080/metrohash-0.0.7-cp27-none-macosx_10_10_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "cecca5f5312fc8464bb2fa33dca0c492", "sha256": "4d572539e825230836288316199daae616b0e80e1e0a571973bdefe18a366834" }, "downloads": -1, "filename": "metrohash-0.0.7.tar.gz", "has_sig": false, "md5_digest": "cecca5f5312fc8464bb2fa33dca0c492", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9463, "upload_time": "2015-10-18T01:58:57", "url": "https://files.pythonhosted.org/packages/7f/77/ebd7ddce4931ae8d94be397836c0b64f56939e0aaae4fcf53ae1a42c1722/metrohash-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "63e033081a8dafa03fdc42a84b16ab80", "sha256": "04f0050d622e8306c7e31cc891e7f3a3fc0d60ea8da57c4ff7161fe9545b72bb" }, "downloads": -1, "filename": "metrohash-0.0.8-cp27-none-macosx_10_10_x86_64.whl", "has_sig": false, "md5_digest": "63e033081a8dafa03fdc42a84b16ab80", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 20245, "upload_time": "2015-10-18T03:18:19", "url": "https://files.pythonhosted.org/packages/ce/4f/256ee17ba0dc7d9c42a76d7aa8b1b1d6920d3002936cd81f6a314057fd25/metrohash-0.0.8-cp27-none-macosx_10_10_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "dfe8a451af46649abb04cfba74c33faa", "sha256": "56a40495a2f511be83dc1578edc02e7ff589ed7ddc7c0844ef4df679551d7127" }, "downloads": -1, "filename": "metrohash-0.0.8.tar.gz", "has_sig": false, "md5_digest": "dfe8a451af46649abb04cfba74c33faa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9673, "upload_time": "2015-10-18T03:18:00", "url": "https://files.pythonhosted.org/packages/73/91/208ddfea1546f29724c256b6196bf713c1238b1e4652d4cf45abb5c45eec/metrohash-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "b9dea3e8c06be1a062115e2c4d53c24e", "sha256": "3329694c9aef4eb71fc9fd1f61e8c6d7c0bd7081dd7fe5d13ab4521d2457fd1e" }, "downloads": -1, "filename": "metrohash-0.0.9-cp27-none-macosx_10_10_x86_64.whl", "has_sig": false, "md5_digest": "b9dea3e8c06be1a062115e2c4d53c24e", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 22297, "upload_time": "2015-10-19T01:09:35", "url": "https://files.pythonhosted.org/packages/8c/65/398184b0eaef4a36afc979bd7820ed322ef580a9ba1df389c1d8a5f8ed1b/metrohash-0.0.9-cp27-none-macosx_10_10_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "3ca2340e378dbb4582bd320cc90d5ac1", "sha256": "20b20ff7d04026eeb1dabd134815a38d82954ef5f494b4d7f946fea50236b8b6" }, "downloads": -1, "filename": "metrohash-0.0.9.tar.gz", "has_sig": false, "md5_digest": "3ca2340e378dbb4582bd320cc90d5ac1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10125, "upload_time": "2015-10-19T01:09:31", "url": "https://files.pythonhosted.org/packages/e3/ec/bc2dad46474c5a1981527f2fb0e148acbd01a272e663d59980115dd848e3/metrohash-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ec11af9cb39d53fac2baf603f8664adb", "sha256": "e223d9bcb5b7627b1593b6478075080ab5e0ad5445b9ddda6b7748282e346b8c" }, "downloads": -1, "filename": "metrohash-0.0.13-cp27-none-macosx_10_10_x86_64.whl", "has_sig": false, "md5_digest": "ec11af9cb39d53fac2baf603f8664adb", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 22533, "upload_time": "2015-10-28T19:11:58", "url": "https://files.pythonhosted.org/packages/75/9b/0fe8af1dec3edb150f1d4ef4ca801c1a48e27377883228b252c395ec1d00/metrohash-0.0.13-cp27-none-macosx_10_10_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "a51cd114966288c8dcf594c53e3d1b7c", "sha256": "3e2ddb52c319b967d6a15166d2c7d9a5701a9bd0170262434fc8d6b1f70bb5ea" }, "downloads": -1, "filename": "metrohash-0.0.13.tar.gz", "has_sig": false, "md5_digest": "a51cd114966288c8dcf594c53e3d1b7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33947, "upload_time": "2015-10-28T19:11:53", "url": "https://files.pythonhosted.org/packages/c0/3a/e1740c9430ae8bb8f68301f6d0e894e644420e0f6c920b808f29832dd1a4/metrohash-0.0.13.tar.gz" } ] }