Implementation of the Jump Consistent Hash algorithm
Project description
Python (3) implementation of the jump consistent hash algorithm by John Lamping and Eric Veach[1].
Usage
>>> import jump
>>> jump.hash(256, 1024)
520
Or if you want to use the C++ extension:
>>> jump.fasthash(256, 1024)
520
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for jump_consistent_hash-1.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d841ef153ca2a2f4c76b5676bebd882ea0e72971d72d56f37f820532f282da6e |
|
MD5 | 03bdbc2a29bdad88fc55d026371fecea |
|
BLAKE2b-256 | d9962fba79e1a89638a0d689dfd78c7e12bbeee28063511725c3a910dd98f80d |
Close
Hashes for jump_consistent_hash-1.1.1-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6f9feee2dbabecc53a342a48f2e2492a03b80affe59c3f8947c4efafdc35a10 |
|
MD5 | 81fca46b873fb6e299e70c5be285323e |
|
BLAKE2b-256 | 0881bb7bf547164312d532285edab95848df584c8682b61b5de09397c4843a32 |