Comparison
cityhash vs mmh3 vs murmurhash2 vs spookyhash
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 cityhashPython extension for MurmurHash (MurmurHash3), a set of fast and robust hash functions.
Maintained. Last release 2 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install mmh3murmurhash2 for Python
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install murmurhash2A Python wrapper for SpookyHash version 2
Maintained. Last release 3 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install spookyhashIn short
- murmurhash2 looks abandoned: avoid it for new projects.
- mmh3 is the most used: 69.7M downloads a month, 75× more than cityhash.
- mmh3 also has the best Pythie’s Index (61).
- cityhash is growing fastest: downloads +50% over the last month.
- Safe default for a new project: mmh3.
Side by side
| Metric | cityhash | mmh3 | murmurhash2 | spookyhash |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | Pythie’s Index: 61 | Pythie’s Index: 12 | Pythie’s Index: 51 |
| Verdict | Low maintenance activity | Maintained | Likely abandoned | Maintained |
| Downloads / month | 925.9K | 69.7M | 357.6K | 34.1K |
| Downloads, month over month | +50% | +6% | -31% | -48% |
| GitHub stars | 46 | 374 | 4 | 6 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 27 | 209 | 5 | 3 |
| Last release | Oct 9, 2025 | Sep 30, 2026 | Feb 12, 2022 | Nov 10, 2026 |
| Releases, 12 months | 0 | 3 | 0 | 1 |
| Weeks with commits | 0 / 26 | 4 / 26 | 0 / 26 | 1 / 26 |
| Recent contributors | 2 | 7 | 1 | 4 |
| First release | Oct 2015 | Jun 2011 | Jul 2020 | Jul 2020 |
| Python versions | 3.6 – 3.13 | 3.10 – 3.15 | – | 3.9 – 3.15 |
| 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.