Comparison
cityhash vs fnv-hash-fast 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 fast version of fnv1a
Maintained. Last release 7 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity.
$
pip install fnv-hash-fastPython 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 | fnv-hash-fast | xxhash |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | 56 |