{"id":26336163,"url":"https://github.com/dobatymo/metrohash-python","last_synced_at":"2026-03-07T11:03:57.407Z","repository":{"id":47455922,"uuid":"188770778","full_name":"Dobatymo/metrohash-python","owner":"Dobatymo","description":"Python bindings for MetroHash.","archived":false,"fork":false,"pushed_at":"2024-09-03T22:03:01.000Z","size":64,"stargazers_count":5,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T15:07:17.182Z","etag":null,"topics":["library","non-cryptographic-hash-functions","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dobatymo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-27T04:28:39.000Z","updated_at":"2021-12-06T08:44:28.000Z","dependencies_parsed_at":"2024-06-21T20:21:51.942Z","dependency_job_id":"39e82525-c703-4cde-9a36-a2a238bbd6b4","html_url":"https://github.com/Dobatymo/metrohash-python","commit_stats":{"total_commits":12,"total_committers":3,"mean_commits":4.0,"dds":"0.33333333333333337","last_synced_commit":"1319fc50e99268d7b37fe34499b00987b5d0e9a1"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dobatymo%2Fmetrohash-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dobatymo%2Fmetrohash-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dobatymo%2Fmetrohash-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dobatymo%2Fmetrohash-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dobatymo","download_url":"https://codeload.github.com/Dobatymo/metrohash-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243809870,"owners_count":20351407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["library","non-cryptographic-hash-functions","python"],"created_at":"2025-03-16T01:16:58.591Z","updated_at":"2026-03-07T11:03:57.369Z","avatar_url":"https://github.com/Dobatymo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# metrohash-python\n\nPython bindings for the fast non-cryptograpical hash function MetroHash. MetroHash C++ library by J. Andrew Rogers, Python bindings by Dobatymo.\n\n## Requirements\n\nThe library has been tested on Linux Python 3.6, and on Windows Python 3.6, 3.7.\n\n## Install\n\n```\npip install metrohash-python\n```\n\nCompilation requires a C++ compiler and optionally `Cython`.\n\n## Examples\n\nThe usage is similar to Python's hashlib.\n\n```python\n\u003e\u003e\u003e import metrohash\n\u003e\u003e\u003e h = metrohash.MetroHash128()\n\u003e\u003e\u003e h.update(b'asd')\n\u003e\u003e\u003e h.update(b'qwe')\n\u003e\u003e\u003e h.digest()\nb'K\\xfb\\x17\\xeb\u003e\\xb2W\\xbd\\x93\\xad\\xf6\\x17\\xceg\\x14\\xda'\n\u003e\u003e\u003e h.hexdigest()\n'4bfb17eb3eb257bd93adf617ce6714da'\n```\n\nOr as simple non-incremental function:\n\n```python\n\u003e\u003e\u003e import metrohash\n\u003e\u003e\u003e metrohash.metrohash128(b'asdqwe')\nb'K\\xfb\\x17\\xeb\u003e\\xb2W\\xbd\\x93\\xad\\xf6\\x17\\xceg\\x14\\xda'\n```\n\nThe interface for `MetroHash64` and `metrohash64` is the same.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdobatymo%2Fmetrohash-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdobatymo%2Fmetrohash-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdobatymo%2Fmetrohash-python/lists"}