Comparison
cityhash vs fnv-hash-fast 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 cityhashA fast version of fnv1a
Maintained. Last release 7 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity.
pip install fnv-hash-fastPython 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 | fnv-hash-fast | mmh3 | xxhash |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | Pythie’s Index: 56 | Pythie’s Index: 65 | Pythie’s Index: 83 |
| Verdict | Low maintenance activity | Maintained | Maintained | Actively maintained |
| Downloads / month | 914.4K | 886.4K | 70.2M | 162.1M |
| Downloads, month over month | +43% | +28% | +5% | +4% |
| GitHub stars | 46 | 6 | 374 | 471 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 27 | 2 | 209 | 615 |
| Last release | Oct 9, 2025 | May 16, 2026 | Sep 30, 2026 | Nov 9, 2026 |
| Releases, 12 months | 0 | 5 | 3 | 14 |
| Weeks with commits | 0 / 26 | 2 / 26 | 6 / 26 | 14 / 26 |
| Recent contributors | 2 | 3 | 7 | 3 |
| First release | Oct 2015 | Apr 2023 | Jun 2011 | Jul 2014 |
| Python versions | 3.6 – 3.13 | 3.10 – 3.14 | 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.