Comparison
cityhash vs mmh3 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 cityhashPython extension for MurmurHash (MurmurHash3), a set of fast and robust hash functions.
Maintained. Last release 2 months ago, commits in 6 of the last 26 weeks. Weaker on contributor spread.
pip install mmh3CFFI 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: 162.1M downloads a month, 2.3× more than mmh3.
- xxhash also has the best Pythie’s Index (83).
- cityhash is growing fastest: downloads +43% over the last month.
- Safe default for a new project: xxhash.