Comparison
cityhash vs mmh3 vs murmurhash2 vs pyfarmhash
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 4 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install mmh3murmurhash2 for Python
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install murmurhash2Google FarmHash Bindings for Python
Maintained. Last release 3 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pyfarmhashIn short
- murmurhash2 looks abandoned: avoid it for new projects.
- mmh3 is the most used: 69.7M downloads a month, 75× more than cityhash.
- mmh3 also has the best Pythie’s Index (61).
- cityhash is growing fastest: downloads +50% over the last month.
- Safe default for a new project: mmh3.
Side by side
| Metric | cityhash | mmh3 | murmurhash2 | pyfarmhash |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | 61 |