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

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.14
File Size Uploaded
uubed_rs-1.0.14.tar.gz 65.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for uubed-rs 1.0.14
File Interpreter ABI Platform
uubed_rs-1.0.14-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.14.tar.gz

Download URL uubed_rs-1.0.14.tar.gz
Size 65.5 kB
Tags Source
SHA-256 checksum
How to use checksums
72f323e70970571d5594afa819f212b43f2fa580ecd222e6a9dd7e817448247f
BLAKE2b-256 checksum
How to use checksums
19463a8cb23e090bff0292861740a072afc70dcaa3683891031023d3c63efc38
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.14-cp312-cp312-macosx_11_0_arm64.whl

Download URL uubed_rs-1.0.14-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
886b2d467c8d9b4735f06c069e1ce9d42d9e8510372017c810232b4d4bc67027
BLAKE2b-256 checksum
How to use checksums
2f7a06e2b7f5346ca42916d117a875ee94698fffdfc7e2cbee11c8b9decbddb7
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

This release

1.0.14 This release

2 release files

1.0.13

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