A 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-fastA 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-fastA fast version of fnv1a
This library will use a CPP implementation of fnv1a (32) if cython is available, and will fallback to pure python from the fnvhash package if it is not.
Install this via pip (or your favourite package manager):
pip install fnv-hash-fast
>>> import fnv_hash_fast
>>> fnv_hash_fast.fnv1a_32(b"hello")
1335831723
>>> fnv_hash_fast.fnv1a_32(b"goodbye")
1188507472
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
This package was created with Copier and the browniebroke/pypackage-template project template.
Use instead of fnv-hash-fast: tools that do the same job, closest first.
Compare with fnvhash →Compare with xxhash →Compare with mmh3 →Compare all 4 →
Pure Python FNV hash implementation.
Python binding for xxHash
Python extension for MurmurHash (MurmurHash3), a set of fast and robust hash functions.
Python bindings for CityHash and FarmHash
A Python wrapper for SpookyHash version 2