Skip to main content

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

Usage

>>> 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')
213030289162235495270783145757721615258L

>>> seed = 1138
>>> smhasher.murmur3_x86_128('hello', seed)
94758481705480737162820094006203962724L

Metadata

Release files for smhasher 0.150.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smhasher 0.150.1
File Size Uploaded Provenance Actions
smhasher-0.150.1.tar.gz 66.8 kB Without provenance Details for smhasher-0.150.1.tar.gz

Release files / smhasher-0.150.1.tar.gz

Download URL smhasher-0.150.1.tar.gz
Size 66.8 kB
Tags Source
SHA-256 checksum
How to use checksums
93cae302ea416ada847d8befe57fda6c7ad5d48bec24eb44e8d55ffa498ef19a
BLAKE2b-256 checksum
How to use checksums
5fb2421c060300f1449646787273ecd7df558f6f8e4caee3d6fbe8b193cd60d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for smhasher 0.150.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.150.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page