Comparison
cityhash vs mmh3cffi 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 cityhashCFFI interface to murmurhash3/32 from aappleby/smhasher
Low maintenance activity. Last release over 5 years ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install mmh3cffiPython 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: 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 | mmh3cffi | xxhash |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | Pythie’s Index: 15 | Pythie’s Index: 83 |
| Verdict | Low maintenance activity | Low maintenance activity | Actively maintained |
| Downloads / month | 925.9K | 144.9K | 161.6M |
| Downloads, month over month | +50% | +7% | +5% |
| GitHub stars | 46 | 0 | 471 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 27 | 0 | 615 |
| Last release | Oct 9, 2025 | Apr 16, 2021 | Nov 9, 2026 |
| Releases, 12 months | 0 | 0 | 14 |
| Weeks with commits | 0 / 26 | 1 / 26 | 14 / 26 |
| Recent contributors | 2 | 4 | 3 |
| First release | Oct 2015 | Jan 2019 | Jul 2014 |
| Python versions | 3.6 – 3.13 | – | 3.9 – 3.15 |
| License | MIT | Apache-2.0 | BSD-2-Clause |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.