Skip to content

cleure/murmur3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MurmurHash3 for Python 2.x and 3.x.

Installing:

    sudo python setup.py install

API:

murmur3.hash32(string[, seed])
murmur3.hash128(string[, seed])
murmur3.hash128_64(string[, seed])

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.

About

Python wrapper for Murmur Hash3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.1%
  • C 7.7%
  • Python 2.2%