skip to navigation
skip to content

smhasher 0.150.1

Python extension for smhasher hash functions

python-smhasher is a Python 2.x/3.x wrapper for the SMHasher non-cryptographic hashing library. It currently supports the MurmurHash3 64-/128-bit and x86/x64 variants.

License: MIT License


>>> import smhasher
>>> [k for k in dir(smhasher) if k[0] == 'm']
['murmur3_x64_128', 'murmur3_x64_64', 'murmur3_x86_128', 'murmur3_x86_64']

>>> smhasher.murmur3_x86_128('hello')

>>> seed = 1138
>>> smhasher.murmur3_x86_128('hello', seed)
File Type Py Version Uploaded on Size
smhasher-0.150.1.tar.gz (md5) Source 2013-12-03 65KB
  • Downloads (All Versions):
  • 21 downloads in the last day
  • 121 downloads in the last week
  • 805 downloads in the last month