equate-rust
Native (Rust) kernels for equate's sequence
comparators. Install it next to equate and pass backend="rust":
from equate.compare.sequence import dtw_alignment, needleman_wunsch
dtw_alignment(a, b, backend="rust") # banded exact DTW, with its warping path
needleman_wunsch("GATTACA", "GATACA", backend="rust")
It covers dtw, subsequence_dtw, needleman_wunsch and smith_waterman (and their
*_alignment twins). Results equal the numpy backend's: the same validation and errors,
the same paths (ties broken identically), scores equal in practice to the last bit (the
contract is 1e-12 relative). equate's tests/test_differential.py checks it.
The Python package equate_rust holds private kernels only; the public API is equate's.
Layout
core/: the pure-Rust crateequate-sequence-core(no Python types;cargo test -p equate-sequence-core).py/: the PyO3 binding crate, built by maturin asequate_rust._core.python/equate_rust/: the Python package (re-exports, the hand-written stub_core.pyi).
Development
cd rust
maturin develop --release --uv # into the active virtual environment
cargo test -p equate-sequence-core
cargo clippy --workspace --all-targets
cd .. && python -m pytest tests/test_differential.py tests/test_sequence.py
python benchmarks/bench_port.py
Metadata
Release files for equate-rust 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| equate_rust-0.1.0.tar.gz | 17.9 kB | With provenance | Details for equate_rust-0.1.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| equate_rust-0.1.0-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details for equate_rust-0.1.0-cp310-abi3-win_amd64.whl |
| equate_rust-0.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ x86-64 | Details for equate_rust-0.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
| equate_rust-0.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ ARM64 | Details for equate_rust-0.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
| equate_rust-0.1.0-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details for equate_rust-0.1.0-cp310-abi3-macosx_11_0_arm64.whl |
| equate_rust-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl | CPython 3.10 | abi3 | macOS 10.12+ x86-64 | Details for equate_rust-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl |
Total release size: 1.2 MB
Release files / equate_rust-0.1.0.tar.gz
| Download URL | equate_rust-0.1.0.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b80b8496f6d374c6657734153814d4ce825c1705342eee33602287c41fae4a73
|
|
BLAKE2b-256 checksum How to use checksums |
fd9eb82b4100cb9bf2290037634a4c67b2fd73735714b4d7e7e24f46d4002232
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 10, 2026.
Transparency logRelease files / equate_rust-0.1.0-cp310-abi3-win_amd64.whl
| Download URL | equate_rust-0.1.0-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 166.3 kB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
09c6ebef3ca889dadb035de774ecc33acda51d915487f138d2c91abb9b2eeb1b
|
|
BLAKE2b-256 checksum How to use checksums |
2a8e9dd142a3b425c67b200a5df841ec3014e3bc43856ef6309a0efd44f3ac3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 10, 2026.
Transparency logRelease files / equate_rust-0.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | equate_rust-0.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 255.9 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
8af01c52e9173e22207044e8d635cbb6a5d63ffc4d0c2086977ab59ca7843eef
|
|
BLAKE2b-256 checksum How to use checksums |
669e71276a918dd73e746fcd01f2262911806dd07f53e0a4d294b6f0aff929bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 10, 2026.
Transparency logRelease files / equate_rust-0.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | equate_rust-0.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 246.7 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
ecbe5101fd1760913b904280b6a1c9bc320d1f3a4d19bed9fa98ae4a2f0fe625
|
|
BLAKE2b-256 checksum How to use checksums |
cf6dcb7224b6e5da418b707620b909c01bda84faa7e5e16fc1c16fadb1525c4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 10, 2026.
Transparency logRelease files / equate_rust-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | equate_rust-0.1.0-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 233.1 kB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a74dd63454346a7fa0c35c12a7f06d4e33ceb75526dc7a7eaa1f1dddbc0877ee
|
|
BLAKE2b-256 checksum How to use checksums |
9156b642579ad343ea9a4948a4edbe378d0144a9740981c180602ffb5b56a4fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 10, 2026.
Transparency logRelease files / equate_rust-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | equate_rust-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 239.3 kB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
a6490705bf79ed65340a32a23983e97a320d6e0f5d9c1b9e1384aa0199a46ddc
|
|
BLAKE2b-256 checksum How to use checksums |
84d2b5df1b5a1a4a26324fe283b33ea4a4ba7dd3692fbdb8bffc75fe81a6395c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 10, 2026.
Transparency logSecurity for equate-rust 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.
Attestation for equate_rust-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 Nov 10, 2026.
Transparency logA 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.