Skip to main content

kura-rs

Small, verified Rust parts for AI data processing and security, for Python.

Every part is checked against a reference implementation with differential tests and benchmarked across input sizes. See the registry for the evidence.

pip install kura-rs

minhash

Near-duplicate detection with MinHash, bit-for-bit compatible with datasketch.MinHash (default scheme of datasketch 2.x). Same num_perm, seed and input give the same signature values.

from kura_rs import minhash

hasher = minhash.MinHasher(num_perm=128, seed=1)  # datasketch's defaults

a = hasher.signature("the quick brown fox jumps".split())
b = hasher.signature("the quick brown fox leaps".split())
print(a.jaccard(b))

# Many documents at once (runs without holding the GIL)
sigs = hasher.signatures([doc.split() for doc in documents])

Items may be bytes, bytearray or str (encoded as UTF-8, same as datasketch with .encode("utf-8")).

License

MIT OR Apache-2.0

Metadata

Release files for kura-rs 0.1.0

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

Source distribution (sdist)

Source distribution for kura-rs 0.1.0
File Size Uploaded Provenance Actions
kura_rs-0.1.0.tar.gz 26.1 kB With provenance Details for kura_rs-0.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for kura-rs 0.1.0
File Actions
kura_rs-0.1.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for kura_rs-0.1.0-cp39-abi3-win_amd64.whl
kura_rs-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for kura_rs-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
kura_rs-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for kura_rs-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
kura_rs-0.1.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for kura_rs-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
kura_rs-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for kura_rs-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 1.3 MB

Release files / kura_rs-0.1.0.tar.gz

Download URL kura_rs-0.1.0.tar.gz
Size 26.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b489c667249389f57cb44b80a4c8755b7c8af26a0c97ac7f808d009432459530
BLAKE2b-256 checksum
How to use checksums
ff789007ac2c43a1e6f78947e14280a7bec370749f17d55856e4e10d2b0710c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release files / kura_rs-0.1.0-cp39-abi3-win_amd64.whl

Download URL kura_rs-0.1.0-cp39-abi3-win_amd64.whl
Size 155.9 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
4d4d9add8678e2c159df44517954d69c9aacc6afff88825b0239978da102fbdd
BLAKE2b-256 checksum
How to use checksums
7d90ba827fb3a84eb67f429721f22556ad3463eda4e6a8c63ed87f210b28eadb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release files / kura_rs-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL kura_rs-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 301.8 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
e62deddd5aadb85b6897986ad13dce28d1489fd40a9dd6afb77eda799cfcd1a6
BLAKE2b-256 checksum
How to use checksums
aeca9bfc9344f65e186e6d1d920f2018b2ba5c542f9301391d41d189c8d14817
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release files / kura_rs-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL kura_rs-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 297.7 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
928b1409bea076846896369d6d9548396adb6165021133e86910a4cfae829521
BLAKE2b-256 checksum
How to use checksums
0c76b32eacb736d182b55188aeb33d30d54fc5b3aff9d3407552fe0f574b7b08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release files / kura_rs-0.1.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL kura_rs-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
Size 260.5 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2c5fb58ec0ee2ce30d834e7161e59878624c51905f843faf37817119ed99378a
BLAKE2b-256 checksum
How to use checksums
8aebba7134c015697294033b96063daddaae7600c621f648e03998db627330ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release files / kura_rs-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl

Download URL kura_rs-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl
Size 262.4 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
2a1bfb76233a8dc28d26f7dd07b6d186edb7a28673463d598a1d1f23dfeddd12
BLAKE2b-256 checksum
How to use checksums
1ce9e0776593a6f4d18cb494e3fcbd4b8246289ba202033e9c3560897c2b7e0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Security for kura-rs 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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for kura_rs-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

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

6 release files Full 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