mmh3
Python extension for MurmurHash (MurmurHash3), a set of fast and robust hash functions.
Install
mmh3 on PyPI
pip
pip install mmh3uv
uv add mmh3poetry
poetry add mmh3Package facts
| License | MIT License Copyright (c) 2011-2026 Hajime Senuma Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 161 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: mmh3-5.2.1-cp310-cp310-macosx_10_9_universal2.whl; mmh3-5.2.1-cp310-cp310-macosx_10_9_x86_64.whl; mmh3-5.2.1-cp310-cp310-macosx_11_0_arm64.whl; mmh3-5.2.1-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl; mmh3-5.2.1-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl; mmh3-5.2.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; mmh3-5.2.1-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl; mmh3-5.2.1-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl; mmh3-5.2.1-cp310-cp310-musllinux_1_2_aarch64.whl; mmh3-5.2.1-cp310-cp310-musllinux_1_2_i686.whl; mmh3-5.2.1-cp310-cp310-musllinux_1_2_ppc64le.whl; mmh3-5.2.1-cp310-cp310-musllinux_1_2_s390x.whl; mmh3-5.2.1-cp310-cp310-musllinux_1_2_x86_64.whl; mmh3-5.2.1-cp310-cp310-win32.whl; mmh3-5.2.1-cp310-cp310-win_amd64.whl; mmh3-5.2.1-cp310-cp310-win_arm64.whl; mmh3-5.2.1-cp311-cp311-macosx_10_9_universal2.whl; mmh3-5.2.1-cp311-cp311-macosx_10_9_x86_64.whl; mmh3-5.2.1-cp311-cp311-macosx_11_0_arm64.whl; mmh3-5.2.1-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl
Keywords: utility, hash, MurmurHash
About mmh3
from the package's own PyPI description — quoted content, verbatim
mmh3
Documentation Status (image) GitHub Super-Linter (image) Build (image) PyPi Version (image) Python Versions (image) License: MIT (image) Total Downloads (image) [![Recent...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
mmh3 is a Python extension for MurmurHash3, providing fast non-cryptographic hash functions optimized for probabilistic data structures like Bloom filters and MinHash, as well as favicon hashing.
Medium install friction due to compiled wheels; however, prebuilt binaries are available for Python 3.10–3.14 across major platforms (Linux, macOS, Windows, and mobile), and the project is actively maintained with recent releases.
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects, with only attribution and license notice required.
Usage
pip install mmh3
import mmh3
result = mmh3.hash(b"foo") # returns -156908512 (32-bit signed int)
unsigned_result = mmh3.hash(b"foo", 0, False) # returns 4138058784 (unsigned)
Requires Python 3.10 or later (supports 3.10–3.14, including 3.14 no-GIL variant).
Verdict: mmh3 is a stable, actively maintained library with zero known vulnerabilities, broad platform coverage via prebuilt wheels, and permissive MIT licensing. It is well-suited for production use in applications requiring fast, non-cryptographic hashing for probabilistic data structures and favicon fingerprinting.
Needs verification
- Whether the no-GIL variant (Python 3.14t) thread-safety issues mentioned in the changelog have been fully resolved since version 5.2.0.
- Performance characteristics and suitability for specific use cases (e.g., scale of data, latency requirements) beyond the documented examples.
Similar packages
permissive · top 1,000 on PyPI
murmurhashpermissive · top 1,000 on PyPI
passlibpermissive · top 1,000 on PyPI
altairpermissive · top 1,000 on PyPI
preshedpermissive · top 1,000 on PyPI
seabornpermissive · top 1,000 on PyPI
bcryptpermissive · top 1,000 on PyPI
argon2-cffipermissive · top 1,000 on PyPI
tabulatepermissive · top 1,000 on PyPI
google-crc32cunclear · top 1,000 on PyPI