{ "info": { "author": "Dobatymo", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: ISC License (ISCL)", "Operating System :: OS Independent", "Programming Language :: C++", "Programming Language :: Cython", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Internet", "Topic :: Scientific/Engineering", "Topic :: Utilities" ], "description": "# metrohash-python\r\n\r\nPython bindings for the fast non-cryptograpical hash function MetroHash. MetroHash C++ library by J. Andrew Rogers, Python bindings by Dobatymo.\r\n\r\n## Requirements\r\n\r\nThe library has been tested on Linux Python 2.7 and 3.6, and on Windows Python 3.5, 3.6, 3.7.\r\n\r\n## Install\r\n\r\n```\r\npip install metrohash-python\r\n```\r\n\r\nCompilation requires a C++ compiler and optionally `Cython`.\r\n\r\n## Examples\r\n\r\nThe usage is similar to Python's hashlib.\r\n\r\n```python\r\n>>> import metrohash\r\n>>> h = metrohash.MetroHash128()\r\n>>> h.update(b'asd')\r\n>>> h.update(b'qwe')\r\n>>> h.digest()\r\nb'K\\xfb\\x17\\xeb>\\xb2W\\xbd\\x93\\xad\\xf6\\x17\\xceg\\x14\\xda'\r\n>>> h.hexdigest()\r\n'4bfb17eb3eb257bd93adf617ce6714da'\r\n```\r\n\r\nOr as simple non-incremental function:\r\n\r\n```python\r\n>>> import metrohash\r\n>>> metrohash.metrohash128(b'asdqwe')\r\nb'K\\xfb\\x17\\xeb>\\xb2W\\xbd\\x93\\xad\\xf6\\x17\\xceg\\x14\\xda'\r\n```\r\n\r\nThe interface for `MetroHash64` and `metrohash64` is the same.\r\n\r\n\r\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Dobatymo/metrohash-python", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "metrohash-python", "package_url": "https://pypi.org/project/metrohash-python/", "platform": "", "project_url": "https://pypi.org/project/metrohash-python/", "project_urls": { "Homepage": "https://github.com/Dobatymo/metrohash-python" }, "release_url": "https://pypi.org/project/metrohash-python/1.1.3.post2/", "requires_dist": null, "requires_python": "", "summary": "Python bindings for MetroHash", "version": "1.1.3.post2" }, "last_serial": 5331154, "releases": { "1.1.3.post2": [ { "comment_text": "", "digests": { "md5": "66c9f35405df0ba471b7f5c0fe4ba864", "sha256": "dd24a20deeb6dfbe8ef644184cb3bb33a11a84f284582d73800476b9641b03ca" }, "downloads": -1, "filename": "metrohash_python-1.1.3.post2-cp27-cp27m-win_amd64.whl", "has_sig": false, "md5_digest": "66c9f35405df0ba471b7f5c0fe4ba864", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 20455, "upload_time": "2019-05-29T08:40:03", "url": "https://files.pythonhosted.org/packages/c9/06/da174c9c6477b26c7348ce568b14df0356be30d3e406a61280215de4708d/metrohash_python-1.1.3.post2-cp27-cp27m-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "affbf9730de4a93b9484fa0b7819b53d", "sha256": "3bed29ee69a7e08c6d9bf5f063448b3271a924b30ac88faf6981cabbb9599816" }, "downloads": -1, "filename": "metrohash_python-1.1.3.post2-cp35-cp35m-win_amd64.whl", "has_sig": false, "md5_digest": "affbf9730de4a93b9484fa0b7819b53d", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 23495, "upload_time": "2019-05-29T08:40:05", "url": "https://files.pythonhosted.org/packages/8e/73/5e4945ab1a2f1fcc7307333e8b62b7bee98a1cdac70de9a6cbe9192e5e46/metrohash_python-1.1.3.post2-cp35-cp35m-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "9f2b14a99e8c3ee02e9be954f7199a0b", "sha256": "bf45e43b3a17f5fb012cf8d57f6de4ac56b2dcdf8737b91b337f9c330ca61521" }, "downloads": -1, "filename": "metrohash_python-1.1.3.post2-cp36-cp36m-win_amd64.whl", "has_sig": false, "md5_digest": "9f2b14a99e8c3ee02e9be954f7199a0b", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 23511, "upload_time": "2019-05-29T08:40:07", "url": "https://files.pythonhosted.org/packages/17/31/9b9ea06a868dd72cf27f1575902d32efeebf4adc40e6c11deb742f4ba75b/metrohash_python-1.1.3.post2-cp36-cp36m-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "b449442cb894958e0b150a175d28c750", "sha256": "9e5e0f5bb6fa3601bd1a021423cc3c2b2d3cba2364408d74a2b0a4752f2a7db6" }, "downloads": -1, "filename": "metrohash_python-1.1.3.post2-cp37-cp37m-win_amd64.whl", "has_sig": false, "md5_digest": "b449442cb894958e0b150a175d28c750", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 22780, "upload_time": "2019-05-29T08:40:09", "url": "https://files.pythonhosted.org/packages/41/47/e4cb7b9cb49bb77e68c9a4cf672ae91b59aba3063bbb51a4f026319c3d84/metrohash_python-1.1.3.post2-cp37-cp37m-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "31e3911715c21777850166238fd10d4c", "sha256": "6f9d0d7f52b0ad34ceb9b64f61d5c9882713ac2dc85511d7f6a4f02d9b5f27d6" }, "downloads": -1, "filename": "metrohash-python-1.1.3.post2.tar.gz", "has_sig": false, "md5_digest": "31e3911715c21777850166238fd10d4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42325, "upload_time": "2019-05-29T08:40:11", "url": "https://files.pythonhosted.org/packages/3c/aa/1bd3fe894130bf07855a5b0b7f23cc74068acc7a2857f164c3a9df8a9949/metrohash-python-1.1.3.post2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "66c9f35405df0ba471b7f5c0fe4ba864", "sha256": "dd24a20deeb6dfbe8ef644184cb3bb33a11a84f284582d73800476b9641b03ca" }, "downloads": -1, "filename": "metrohash_python-1.1.3.post2-cp27-cp27m-win_amd64.whl", "has_sig": false, "md5_digest": "66c9f35405df0ba471b7f5c0fe4ba864", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 20455, "upload_time": "2019-05-29T08:40:03", "url": "https://files.pythonhosted.org/packages/c9/06/da174c9c6477b26c7348ce568b14df0356be30d3e406a61280215de4708d/metrohash_python-1.1.3.post2-cp27-cp27m-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "affbf9730de4a93b9484fa0b7819b53d", "sha256": "3bed29ee69a7e08c6d9bf5f063448b3271a924b30ac88faf6981cabbb9599816" }, "downloads": -1, "filename": "metrohash_python-1.1.3.post2-cp35-cp35m-win_amd64.whl", "has_sig": false, "md5_digest": "affbf9730de4a93b9484fa0b7819b53d", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 23495, "upload_time": "2019-05-29T08:40:05", "url": "https://files.pythonhosted.org/packages/8e/73/5e4945ab1a2f1fcc7307333e8b62b7bee98a1cdac70de9a6cbe9192e5e46/metrohash_python-1.1.3.post2-cp35-cp35m-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "9f2b14a99e8c3ee02e9be954f7199a0b", "sha256": "bf45e43b3a17f5fb012cf8d57f6de4ac56b2dcdf8737b91b337f9c330ca61521" }, "downloads": -1, "filename": "metrohash_python-1.1.3.post2-cp36-cp36m-win_amd64.whl", "has_sig": false, "md5_digest": "9f2b14a99e8c3ee02e9be954f7199a0b", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 23511, "upload_time": "2019-05-29T08:40:07", "url": "https://files.pythonhosted.org/packages/17/31/9b9ea06a868dd72cf27f1575902d32efeebf4adc40e6c11deb742f4ba75b/metrohash_python-1.1.3.post2-cp36-cp36m-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "b449442cb894958e0b150a175d28c750", "sha256": "9e5e0f5bb6fa3601bd1a021423cc3c2b2d3cba2364408d74a2b0a4752f2a7db6" }, "downloads": -1, "filename": "metrohash_python-1.1.3.post2-cp37-cp37m-win_amd64.whl", "has_sig": false, "md5_digest": "b449442cb894958e0b150a175d28c750", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 22780, "upload_time": "2019-05-29T08:40:09", "url": "https://files.pythonhosted.org/packages/41/47/e4cb7b9cb49bb77e68c9a4cf672ae91b59aba3063bbb51a4f026319c3d84/metrohash_python-1.1.3.post2-cp37-cp37m-win_amd64.whl" }, { "comment_text": "", "digests": { "md5": "31e3911715c21777850166238fd10d4c", "sha256": "6f9d0d7f52b0ad34ceb9b64f61d5c9882713ac2dc85511d7f6a4f02d9b5f27d6" }, "downloads": -1, "filename": "metrohash-python-1.1.3.post2.tar.gz", "has_sig": false, "md5_digest": "31e3911715c21777850166238fd10d4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42325, "upload_time": "2019-05-29T08:40:11", "url": "https://files.pythonhosted.org/packages/3c/aa/1bd3fe894130bf07855a5b0b7f23cc74068acc7a2857f164c3a9df8a9949/metrohash-python-1.1.3.post2.tar.gz" } ] }