Comparison
cityhash vs fnv-hash-fast vs mmh3 vs murmurhash2
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 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 mmh3murmurhash2 for Python
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install murmurhash2In short
- murmurhash2 looks abandoned: avoid it for new projects.
- mmh3 is the most used: 70.2M downloads a month, 77× more than cityhash.
- Maintenance is comparable: mmh3 65, fnv-hash-fast 56, cityhash 22 on Pythie’s Index.
- cityhash is growing fastest: downloads +43% over the last month.
- Safe default for a new project: mmh3.
Side by side
| Metric | cityhash | fnv-hash-fast | mmh3 | murmurhash2 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | 56 |