Skip to main content

Python extension for smhasher hash functions

Project description

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)

Project details

Release history Release notifications

History Node


This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
smhasher-0.136.2.tar.gz (56.0 kB) Copy SHA256 hash SHA256 Source None Jun 20, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page