Comparison
murmurhash vs pyfarmhash vs spookyhash vs xxhash
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Cython bindings for MurmurHash
Maintained. Last release 6 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install murmurhashGoogle 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 pyfarmhashA Python wrapper for SpookyHash version 2
Maintained. Last release 3 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install spookyhashPython 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, 6.4× more than murmurhash.
- xxhash also has the best Pythie’s Index (83).
- murmurhash is growing fastest: downloads +14% over the last month.
- Safe default for a new project: xxhash.
Side by side
| Metric | murmurhash | pyfarmhash | spookyhash | xxhash |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 53 | 46 |