Comparison
cityhash vs fnvhash vs mmh3 vs pyfarmhash
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 mmh3Google FarmHash Bindings for Python
Maintained. Last release 3 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pyfarmhashIn short
- mmh3 is the most used: 70.2M downloads a month, 65× more than fnvhash.
- mmh3 also has the best Pythie’s Index (65).
- cityhash is growing fastest: downloads +43% over the last month.
- Safe default for a new project: mmh3.
Side by side
| Metric | cityhash | fnvhash | mmh3 | pyfarmhash |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | Pythie’s Index: 21 | Pythie’s Index: 65 | Pythie’s Index: 46 |
| Verdict | Low maintenance activity | Low maintenance activity | Maintained | Maintained |
| Downloads / month | 914.4K | 1.1M | 70.2M | 890K |
| Downloads, month over month | +43% | +23% | +5% | -9% |
| GitHub stars | 46 | 37 | 374 | 39 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 27 | 11 | 209 | 10 |
| Last release | Oct 9, 2025 | May 5, 2025 | Sep 30, 2026 | Aug 26, 2026 |
| Releases, 12 months | 0 | 0 | 3 | 2 |
| Weeks with commits | 0 / 26 | 0 / 26 | 6 / 26 | 0 / 26 |
| Recent contributors | 2 | 1 | 7 | 9 |
| First release | Oct 2015 | Nov 2015 | Jun 2011 | Oct 2014 |
| Python versions | 3.6 – 3.13 | – | 3.10 – 3.15 | 3.7 – 3.13 |
| License | MIT | MIT | MIT | MIT |
| 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.