{"id":16031758,"url":"https://github.com/realorangeone/seahash-py","last_synced_at":"2026-03-03T22:31:37.317Z","repository":{"id":144430897,"uuid":"508598577","full_name":"RealOrangeOne/seahash-py","owner":"RealOrangeOne","description":"Python bindings to seahash","archived":false,"fork":false,"pushed_at":"2024-05-28T21:50:55.000Z","size":62,"stargazers_count":5,"open_issues_count":5,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-29T12:46:35.578Z","etag":null,"topics":["hash","python","seahash"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/seahash/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RealOrangeOne.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},"funding":{"github":"RealOrangeOne","ko_fi":"theorangeone","liberapay":"theorangeone","custom":["https://theorangeone.net/support/"]}},"created_at":"2022-06-29T07:55:58.000Z","updated_at":"2024-05-31T22:28:01.017Z","dependencies_parsed_at":"2023-10-24T00:30:06.982Z","dependency_job_id":"7ee5c5ce-a2d8-4e5e-968f-f01bc9f8d310","html_url":"https://github.com/RealOrangeOne/seahash-py","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealOrangeOne%2Fseahash-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealOrangeOne%2Fseahash-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealOrangeOne%2Fseahash-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealOrangeOne%2Fseahash-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RealOrangeOne","download_url":"https://codeload.github.com/RealOrangeOne/seahash-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243871521,"owners_count":20361372,"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":["hash","python","seahash"],"created_at":"2024-10-08T21:05:26.530Z","updated_at":"2026-03-03T22:31:37.277Z","avatar_url":"https://github.com/RealOrangeOne.png","language":"Rust","funding_links":["https://github.com/sponsors/RealOrangeOne","https://ko-fi.com/theorangeone","https://liberapay.com/theorangeone","https://theorangeone.net/support/"],"categories":[],"sub_categories":[],"readme":"# SeaHash\n\n[![CI](https://github.com/RealOrangeOne/seahash-py/actions/workflows/ci.yml/badge.svg)](https://github.com/RealOrangeOne/seahash-py/actions/workflows/ci.yml)\n![PyPI](https://img.shields.io/pypi/v/seahash.svg)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/seahash.svg)\n![PyPI - Wheel](https://img.shields.io/pypi/wheel/seahash.svg)\n![PyPI - Status](https://img.shields.io/pypi/status/seahash.svg)\n![PyPI - License](https://img.shields.io/pypi/l/seahash.svg)\n\n\nPython bindings to [`seahash`](https://docs.rs/seahash/) - A blazingly fast, portable hash function with proven statistical guarantees.\n\n## Installation\n\n```\npip install seahash\n```\n\nWheels should be available for most platforms. If you need a wheel which isn't provided, [raise an issue](https://github.com/RealOrangeOne/seahash-py/issues).\n\nCompiling from source will require a Rust toolchain.\n\n## Usage\n\nHashing can be done in 2 ways:\n\n### Primitive functions\n\n```python\nimport seahash\n\n# Plain hash\nseahash.hash(b\"123\")\n\n# Hash with custom seeds\nseahash.hash_seeded(b\"123\", 4, 5, 6, 7)\n```\n\nBoth methods return an `int`.\n\n### `hashlib`-compatible class\n\nFor convenience, a `hashlib`-compatible class is provided:\n\n```python\nimport seahash\n\ns = seahash.SeaHash()\n\ns.update(b\"123\")\n\ns.digest()\ns.hexdigest()\n```\n\nThe underlying `int` digest can be obtained with `intdigest`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealorangeone%2Fseahash-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealorangeone%2Fseahash-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealorangeone%2Fseahash-py/lists"}