Skip to main content

Python Simhash

PyPI - Python Version PyPI - Version

Features

  • Written in Rust: The underlying library and bindings are written in Rust, which makes it fast and memory-efficient.
  • Safe: The Rust implementation is memory-safe and thread-safe.

Quick Start

Installation

pip install python-simhash

Basic Usage

from simhash import simhash, hamming_distance


fingerprint1 = simhash("hello world this is a message saying some things".split(), hasher="xxh3")
fingerprint2 = simhash("hello world this is a message saying some other things".split(), hasher="xxh3")

print(hamming_distance(fingerprint1, fingerprint2))

License

This project is licensed under MIT License.

Support & Feedback

If you encounter any issues or have feedback, please open an issue. We'd love to hear from you!

Made with ❤️ by Emergent Methods

Metadata

Release files for python-simhash 0.1.0

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

Built distribution (wheel)

Table of built distributions (wheels) for python-simhash 0.1.0
File Interpreter ABI Platform Actions
python_simhash-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl CPython 3.9 abi3 Linux glibc 2.34+ x86-64 Details for python_simhash-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl

Release files / python_simhash-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl

Download URL python_simhash-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl
Size 368.8 kB
Tags CPython 3.9 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
e49e2974c28d56bb1230db264125573fcf3dc1944f3b5f7fb289f95fa8c0efc9
BLAKE2b-256 checksum
How to use checksums
7d43ecaab3ddbb4629aedaf0fa2d02c06433c83b67c47b1a71096682721ee204
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.12

Security for python-simhash 0.1.0

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.1.0 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