Python wrapper for Murmur Hash3
Find a file
2012-10-09 09:58:08 -07:00
.gitignore removed .DS_Store 2012-10-09 09:58:08 -07:00
module.cpp Added murmur3.__version__ 2012-10-08 13:44:19 -07:00
MurmurHash3.cpp sync with most recent version of MurmurHash3 2012-10-08 11:56:40 -07:00
MurmurHash3.h Initial import. 2011-08-09 01:03:05 +02:00
README README 2012-10-08 13:29:29 -07:00
setup.py Added murmur3.__version__ 2012-10-08 13:44:19 -07:00
version.py Added murmur3.__version__ 2012-10-08 13:49:51 -07:00

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.