Comparison
cityhash vs fnvhash vs mmh3 vs xxhash
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python bindings for CityHash and FarmHash
Low maintenance activity. Last release 14 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install cityhashPure Python FNV hash implementation.
Low maintenance activity. Last release 19 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install fnvhashPython extension for MurmurHash (MurmurHash3), a set of fast and robust hash functions.
Maintained. Last release 2 months ago, commits in 6 of the last 26 weeks. Weaker on contributor spread.
pip install mmh3Python binding for xxHash
Actively maintained. Last release 3 weeks ago, commits in 14 of the last 26 weeks. A safe choice.
pip install xxhashIn short
- xxhash is the most used: 162.1M downloads a month, 2.3× more than mmh3.
- xxhash also has the best Pythie’s Index (83).
- cityhash is growing fastest: downloads +43% over the last month.
- Safe default for a new project: xxhash.
Side by side
| Metric | cityhash | fnvhash | mmh3 | xxhash |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | Pythie’s Index: 21 | Pythie’s Index: 65 | Pythie’s Index: 83 |
| Verdict | Low maintenance activity | Low maintenance activity | Maintained | Actively maintained |
| Downloads / month | 914.4K | 1.1M | 70.2M | 162.1M |
| Downloads, month over month | +43% | +23% | +5% | +4% |
| GitHub stars | 46 | 37 | 374 | 471 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 27 | 11 | 209 | 615 |
| Last release | Oct 9, 2025 | May 5, 2025 | Sep 30, 2026 | Nov 9, 2026 |
| Releases, 12 months | 0 | 0 | 3 | 14 |
| Weeks with commits | 0 / 26 | 0 / 26 | 6 / 26 | 14 / 26 |
| Recent contributors | 2 | 1 | 7 | 3 |
| First release | Oct 2015 | Nov 2015 | Jun 2011 | Jul 2014 |
| Python versions | 3.6 – 3.13 | – | 3.10 – 3.15 | 3.9 – 3.15 |
| License | MIT | MIT | MIT | BSD-2-Clause |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.