Comparison
siphash vs siphashc vs spookyhash vs xxhash
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
siphash - python siphash implementation
Likely abandoned. No release or commit for years (last release over 13 years ago).
$
pip install siphashPython module (in c) for siphash-2-4
Actively maintained. Last release 6 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install siphashcA 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
- siphash looks abandoned: avoid it for new projects.
- xxhash is the most used: 159.1M downloads a month, 1212× more than siphashc.
- Maintenance is comparable: xxhash 83, siphashc 80, spookyhash 51 on Pythie’s Index.
- Safe default for a new project: xxhash.
Side by side
| Metric | siphash | siphashc | spookyhash | xxhash |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 11 | 80 |