Comparison
cityhash 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 cityhashA 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 15 of the last 26 weeks. A safe choice.
$
pip install xxhashIn short
- xxhash is the most used: 159.1M downloads a month, 172× more than cityhash.
- xxhash also has the best Pythie’s Index (83).
- cityhash is growing fastest: downloads +49% over the last month.
- Safe default for a new project: xxhash.
Side by side
| Metric | cityhash | spookyhash | xxhash |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | Pythie’s Index: 51 | Pythie’s Index: 83 |
| Verdict | Low maintenance activity | Maintained | Actively maintained |
| Downloads / month | 923.4K | 34.1K | 159.1M |
| Downloads, month over month | +49% | -48% | +2% |
| GitHub stars | 46 | 6 | 471 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 27 | 3 | 615 |
| Last release | Oct 9, 2025 | Nov 10, 2026 | Nov 9, 2026 |
| Releases, 12 months | 0 | 1 | 14 |
| Weeks with commits | 0 / 26 | 1 / 26 | 15 / 26 |
| Recent contributors | 2 | 4 | 3 |
| First release | Oct 2015 | Jul 2020 | Jul 2014 |
| Python versions | 3.6 – 3.13 | 3.9 – 3.15 | 3.9 – 3.15 |
| License | MIT | MIT | 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.