murmur3/README
Cameron Eure d5f4dc9d3f README
2012-10-08 13:29:29 -07:00

19 lines
341 B
Text

MurmurHash3 for Python 2.x and 3.x.
Installing:
sudo python setup.py install
Using:
import murmur3
print murmur3.hash32('my string')
a, b, c, d = murmur3.hash128('my other string')
print a, b, c, d
a, b = murmur3.hash128_64('my other other string')
print a, b
See http://code.google.com/p/smhasher/ for more information.