candding
Run dense, sparse, multi-vector and reranking models from Python on Rust's candle, with no ONNX runtime. Every model in the catalog is checked against its reference implementation, and every result comes back as a NumPy array.
pip install candding
import candding
model = candding.TextEmbedding("BAAI/bge-small-en-v1.5")
docs = model.passage_embed(["Embeddings map text to vectors.", "Rust is a systems language."])
query = model.query_embed(["what do embeddings do"])
print(query @ docs.T)
reranker = candding.TextCrossEncoder("BAAI/bge-reranker-base")
print(reranker.rerank("what do embeddings do", ["Embeddings map text to vectors.", "Rust is a systems language."]))
| Platform | Devices |
|---|---|
| Linux x86-64 and aarch64 | CPU |
| macOS on Apple Silicon | CPU and Metal (device="auto" picks Metal) |
Wheels serve CPython 3.9 and newer. Models download from the Hugging Face Hub into its standard cache on first use, and HF_TOKEN unlocks a gated model.
- Python guide: https://candding.rust-dd.com/docs/python
- Model catalog, with each model's status per device and dtype: https://candding.rust-dd.com/docs/models
- Source: https://github.com/rust-dd/candding
Licensed under Apache-2.0 or MIT, at your option.
Metadata
Release files for candding 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 | |
|---|---|---|---|
| candding-0.1.0.tar.gz | 366.0 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| candding-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.28+ x86-64 | Details |
| candding-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| candding-0.1.0-cp39-abi3-macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64 | Details |
Total release size: 21.8 MB
Release files / candding-0.1.0.tar.gz
| Download URL | candding-0.1.0.tar.gz |
|---|---|
| Size | 366.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9f872cb9914c52bf6794f6531c7c7bb75af239fea7be0473c7998fa70df0883
|
|
BLAKE2b-256 checksum How to use checksums |
05897009f8a55409f9d7b2e39a83ce696497262516b6128db77c801dbdef6678
|
| 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 Oct 3, 2026.
Transparency logRelease files / candding-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl
| Download URL | candding-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 7.7 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
e7aeeb2c356679b3f5e9bcf4d10243b89e7a908c3e03ccad88b9907344cb406a
|
|
BLAKE2b-256 checksum How to use checksums |
73d21d91d4ae3b66e34220ae568ad61096fffa423fa5ec1f76b498ae30db9ab6
|
| 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 Oct 3, 2026.
Transparency logRelease files / candding-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl
| Download URL | candding-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 6.9 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
0178be47776685e9a20e8e5b88be997e5c71baba5bf9e7c8efb8cef7ccbafa87
|
|
BLAKE2b-256 checksum How to use checksums |
18a0f474460ac73f935f0a918fc66e205bb6da83dddf0aff6f4b1e264a55f31a
|
| 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 Oct 3, 2026.
Transparency logRelease files / candding-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | candding-0.1.0-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 6.9 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8922a83f25fc318dbc67a86de6dc37e9fb442f96e9dc916da69ad2b3b676a0cb
|
|
BLAKE2b-256 checksum How to use checksums |
2cb948ce31352aafa975970b0bc4b2d0c51d01cf6f50c2974d931d924d3f49b4
|
| 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 Oct 3, 2026.
Transparency log