Comparison
cityhash vs mmhash3 vs spookyhash 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 cityhashPython wrapper for MurmurHash (MurmurHash3), a set of fast and robust hash functions.
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install mmhash3A 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 spookyhashPython 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
- mmhash3 looks abandoned: avoid it for new projects.
- xxhash is the most used: 161.6M downloads a month, 175× more than cityhash.
- xxhash also has the best Pythie’s Index (83).
- cityhash is growing fastest: downloads +50% over the last month.
- Safe default for a new project: xxhash.
Side by side
| Metric | cityhash | mmhash3 | spookyhash | xxhash |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | Pythie’s Index: 19 | Pythie’s Index: 51 | Pythie’s Index: 83 |
| Verdict | Low maintenance activity | Likely abandoned | Maintained | Actively maintained |
| Downloads / month | 925.9K | 267.1K | 34.1K | 161.6M |
| Downloads, month over month | +50% | +1% | -48% | +5% |
| GitHub stars | 46 | – | 6 | 471 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 27 | 3 | 3 | 615 |
| Last release | Oct 9, 2025 | Oct 29, 2022 | Nov 10, 2026 | Nov 9, 2026 |
| Releases, 12 months | 0 | 0 | 1 | 14 |
| Weeks with commits | 0 / 26 | – | 1 / 26 | 14 / 26 |
| Recent contributors | 2 | – | 4 | 3 |
| First release | Oct 2015 | Oct 2022 | Jul 2020 | Jul 2014 |
| Python versions | 3.6 – 3.13 | 3.6 – 3.11 | 3.9 – 3.15 | 3.9 – 3.15 |
| License | MIT | CC0-1.0 | 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.