Skip to main content

Python implementation of Austin Appleby's MurmurHash2 code.

Project description

mmh2

Python implementation of Austin Appleby's MurmurHash2 code.

smhasher

Usage

>>> from mmh2 import MurmurHash2
>>>
>>> MurmurHash2.hash32(b"abc", 0)
324500635
>>> MurmurHash2.hash64a(b"abc", 0)
11297775770902552315
>>> MurmurHash2.hash64b(b"abc", 0)
14767186587890852743

Project details


Download files

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

Source Distribution

mmh2-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mmh2-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file mmh2-0.1.0.tar.gz.

File metadata

  • Download URL: mmh2-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.12.5 Linux/6.11.0-1018-azure

File hashes

Hashes for mmh2-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d086ac349c52386615d488a8761ccac5dd03ec77f902eaa1185b3fabd587d172
MD5 05f7c37bfe1a4c5fb5c390f181cbd4c1
BLAKE2b-256 61abb038f44b10278dc7e4d870a5a8300e5e228ed624e6c02992735e6c307755

See more details on using hashes here.

File details

Details for the file mmh2-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mmh2-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.12.5 Linux/6.11.0-1018-azure

File hashes

Hashes for mmh2-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 928fe975a850f8f0acf37389dc38f499ea3d3923294286e054c1230847596316
MD5 7ceab3b113b2b98701883020b0f379ec
BLAKE2b-256 1f2d2f7c6715f3017dc674aa03ca08505f7ecdfb376ece2a21581f41e4ef3d29

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page