The Python Non-cryptographic Hash Library is a software tool that provides hash functions for data sets. This library is written in Python and is used for non-cryptographic purposes, such as indexing or checksum verification, with an extensive set of hash algorithms.
Getting started with Pyhash is a breeze - simply import the library and create a hasher object with your algorithm of choice. For example, you can create an FNV1_32 hasher by running `hasher = pyhash.fnv1_32()`. Once you've created your hasher, you can easily hash a string by calling `hasher('hello world')`, which returns the unique hash value `2805756500L`.
Pyhash supports a wide range of hash algorithms, including FNV (Fowler-Noll-Vo) hash, MurmurHash 2.0, lookup3, and SuperFastHash. With FNV, you can choose from fnv1_32, fnv1a_32, fnv1_64, and fnv1a_64. MurmurHash 2.0 is equally versatile, offering options like murmur2_32, murmur2a_32, murmur2_aligned_32, murmur2_neutral_32, and murmur2_64. Meanwhile, lookup3 comes in three flavors - lookup3, lookup3_little, and lookup3_big - depending on your byte order. And finally, SuperFastHash provides an efficient hashing option for when speed is of the essence.
Overall, Pyhash is a solid choice for any Python developer in need of a reliable non-cryptographic hash library. Its implementation in C/C++ ensures top-notch performance, while its support of a wide range of hash algorithms makes it a versatile tool for any hashing needs.
Version 0.2: N/A