Implementation of the Jump Consistent Hash algorithm
Project description
Python implementation of the jump consistent hash algorithm by John Lamping and Eric Veach[1]. Requires Python 2.6-2.7 or 3.2+.
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 Distributions
Close
Hashes for jump_consistent_hash-2.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0410418dfadafd7e1f249d0a8f393100dbeba568dd9c1beb6b0ae8f21a212084 |
|
MD5 | aca7551af09f10d48ecee14e1558cd65 |
|
BLAKE2b-256 | 9d4bb155e8181b647005a8816b53bb9eaeaabd7e2ba4ae37a57f01d890b153fd |
Close
Hashes for jump_consistent_hash-2.0.1-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13ecdc67b91399f338d41c3f5fb4787ce9a9e097058bc5aa1a732bfdedd88ac7 |
|
MD5 | f3fe9f6d1a154596ca203950b6df2008 |
|
BLAKE2b-256 | 575f19df26e15109ddc48e990cd50b1277e7a6bec33d2cb0d54598bc18912788 |
Close
Hashes for jump_consistent_hash-2.0.1-cp27-none-macosx_10_10_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d27d793d51bb89fcaa810fe5bba58ecc9791459797b1c9c87f462ca777e8c27 |
|
MD5 | a6885d545c7030cd27f5db4051443f13 |
|
BLAKE2b-256 | 5218f9d5438f421911325e5564179bcf21e81f322581526b039d38efae11a1f6 |
Close
Hashes for jump_consistent_hash-2.0.1-cp26-none-macosx_10_10_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e599802c64521a6ba928a61fe4175a4c28286c983603a11cca0fd322395c74d |
|
MD5 | 7fc6bbd255d4147cf276dd5dbb9007b7 |
|
BLAKE2b-256 | 023c2c488733d0594cd1fcc6b7d5895e69a7836daa5b6ba47a76dc7da70abfd8 |