Comparison
mmh3cffi vs murmurhash2 vs pyfarmhash vs xxhash
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
CFFI 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 mmh3cffimurmurhash2 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 pyfarmhashPython 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
- murmurhash2 looks abandoned: avoid it for new projects.
- xxhash is the most used: 162.1M downloads a month, 180× more than pyfarmhash.
- xxhash also has the best Pythie’s Index (83).
- Safe default for a new project: xxhash.
Side by side
| Metric | mmh3cffi | murmurhash2 | pyfarmhash | xxhash |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 15 | 12 |