Skip to main content

this_file: README.md

Uubed Rust workspace

One native implementation for compact byte encoding and translation-memory search.

Crate Responsibility
uubed-core Existing tested byte encoders, optional SIMD and C API; no Python dependency.
uubed-tm SQLite source/pair storage, exact matches and signed int8 cosine search.
uubed-python PyO3 bindings for both, published as the uubed-rs Python distribution.

The extension is imported as uubed_native. Model inference, model identity, TMX streaming and atomic index publication live in the companion uubed Python package. There is no second Candle/Qwen model runtime or fixed-1024 database.

cargo test --workspace
cargo clippy --workspace --all-targets --features simd -- -D warnings
uvx maturin build --release

Requires Rust 1.88+; the existing core remains edition 2021. Python integration is tested on 3.12. Native binding behavior is tested through the built wheel, rather than linking a Rust executable against a Python extension module.

SQLite stores BINARY-collated source strings, all target variants and their path/unit provenance. One int8 BLOB per English source has its positive scale and norm stored alongside it. Metadata records the format and full embedding-space identity. Query vectors must match the dimensions and contain finite, nonzero values. Search ranks cosine similarities after filtering by target language. Scale cancels in cosine, so no float32 corpus matrix is materialized. Search is exhaustive O(Nd), not an approximate-nearest-neighbor service.

See the workspace guide for the complete two-consumer workflow.

Releases and local data

./publish.sh --dry-run verifies the next release without pushing or uploading. ./publish.sh commits, tags and publishes it. See RELEASING.md for credentials, same-tag retries, dependency order and private-data exclusions.

Release files for uubed-rs 1.0.13

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

Source distribution (sdist)

Source distribution for uubed-rs 1.0.13
File Size Uploaded
uubed_rs-1.0.13.tar.gz 64.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for uubed-rs 1.0.13
File Interpreter ABI Platform
uubed_rs-1.0.13-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details

Total release size: 1.3 MB

Release files / uubed_rs-1.0.13.tar.gz

Download URL uubed_rs-1.0.13.tar.gz
Size 64.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c2d3e6e9856109d2a353c08cbd1f2fe239e1f40e002f0a9451377ccf05a94cb9
BLAKE2b-256 checksum
How to use checksums
87c0de1e5e3b14666f381b00589b1ec3c2cbfbbba9f99b673d05c8804ff827b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / uubed_rs-1.0.13-cp312-cp312-macosx_11_0_arm64.whl

Download URL uubed_rs-1.0.13-cp312-cp312-macosx_11_0_arm64.whl
Size 1.3 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
524be9a4970f08c71e9b389aa2207f7d8bfe8cf736a9bad2128e6c82befd1002
BLAKE2b-256 checksum
How to use checksums
6f7548cae9c39da4348087b8a790ebe0177a155e8f0ac16cbab95ba33f543534
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

1.0.14

2 release files

This release

1.0.13 This release

2 release files

0.1.0

2 release files

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