Pure Python implementation of the FNV hash family with 100% test coverage. Take a look at pyhash for use cases where performance is more important than portability.
>>> from fnvhash import fnv1a_32 >>> hex(fnv1a_32(b'foo')) '0xa9f37ed7'
The software is subject to the MIT license.