retrievalkit-embedding
Optional local FP32 text embeddings for RetrievalKit's Python API. This package
is deliberately separate from the retrieval database distribution: constructing
or prefetching an OnnxEmbedder may download verified model artifacts, while
database initialization, indexing, search, and embedding inference never do.
from retrievalkit_embedding import OnnxEmbedder
OnnxEmbedder.prefetch()
embedder = OnnxEmbedder.load(local_only=True)
vector = embedder.embed("local retrieval")
assert len(vector) == 384
The default and only production-exposed model profile is the pinned FP32
all-MiniLM-L6-v2 export. Inputs use the qualified 256-token limit and every
result contains exactly 384 finite, L2-normalized Python floats. This model
precision is independent of RetrievalKit's default signed-I8 database storage.
Model artifacts are acquired only over verified HTTPS by the shared Rust
ModelStore. Use cache_directory= to select an application cache and
local_only=True to prohibit network access. Acquisition is visibly bounded to
load(...) and prefetch(...); direct construction remains an equivalent
convenience for compatibility.
The official ONNX Runtime 1.24.3 dynamic library must be supplied through
runtime_library_path=, RETRIEVALKIT_ONNX_RUNTIME_LIBRARY, or the prepared
package-local runtime directory. Package-local discovery accepts only the
qualified macOS arm64 library with its pinned exact size and SHA-256. This
repository does not contain the runtime binary.
This distribution is included in the v0.1.0 release inventory but is not available from PyPI until the protected release gates pass.
Qualification
The opt-in qualify.py utility is excluded from normal offline tests. It can
emit model metadata and vectors for the shared conformance validator:
python qualify.py conformance --input texts.json --output python-fp32.json \
--local-only
It also measures cached construction, the first public inference call, and 50 warm-ups followed by 750 measured 32-token single-text embeddings:
python qualify.py benchmark --local-only
Both commands require an installed extension, a qualified ONNX Runtime, and a
downloaded cache when --local-only is selected. They never publish artifacts
or packages.
Metadata
Release files for retrievalkit-embedding 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| retrievalkit_embedding-0.1.0-cp314-cp314-macosx_11_0_arm64.whl | CPython 3.14 | CPython 3.14 | macOS 11.0+ ARM64 | Details for retrievalkit_embedding-0.1.0-cp314-cp314-macosx_11_0_arm64.whl |
| retrievalkit_embedding-0.1.0-cp313-cp313-macosx_11_0_arm64.whl | CPython 3.13 | CPython 3.13 | macOS 11.0+ ARM64 | Details for retrievalkit_embedding-0.1.0-cp313-cp313-macosx_11_0_arm64.whl |
| retrievalkit_embedding-0.1.0-cp312-cp312-macosx_11_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 11.0+ ARM64 | Details for retrievalkit_embedding-0.1.0-cp312-cp312-macosx_11_0_arm64.whl |
| retrievalkit_embedding-0.1.0-cp311-cp311-macosx_11_0_arm64.whl | CPython 3.11 | CPython 3.11 | macOS 11.0+ ARM64 | Details for retrievalkit_embedding-0.1.0-cp311-cp311-macosx_11_0_arm64.whl |
| retrievalkit_embedding-0.1.0-cp310-cp310-macosx_11_0_arm64.whl | CPython 3.10 | CPython 3.10 | macOS 11.0+ ARM64 | Details for retrievalkit_embedding-0.1.0-cp310-cp310-macosx_11_0_arm64.whl |
Total release size: 50.8 MB
Release files / retrievalkit_embedding-0.1.0-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | retrievalkit_embedding-0.1.0-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 10.2 MB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
728ffd4e69feab1f4218e60221f39d686b4a9c123394a452925318d9e6a673e0
|
|
BLAKE2b-256 checksum How to use checksums |
1ea87baa5360c7a7ec52e92215ced68c335732eda2a641fc7c8810be53c1b363
|
| 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 Aug 2, 2026.
Transparency logRelease files / retrievalkit_embedding-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | retrievalkit_embedding-0.1.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 10.2 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7119e94e1092d2ac3bd69b267bee35105561face0ea70e5ebef2af648680031f
|
|
BLAKE2b-256 checksum How to use checksums |
f58218983fbb4124be946f4d6fbea3849d1037ef8f99bac5546c74eaf7168e24
|
| 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 Aug 2, 2026.
Transparency logRelease files / retrievalkit_embedding-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | retrievalkit_embedding-0.1.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 10.2 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5e9be3b4ef3f002ed7ea08fd9f3d3389019874960bac0b16e3525e1a1ba0c27a
|
|
BLAKE2b-256 checksum How to use checksums |
fe476abfa79d6e988b2513fbd959675f78322c489666610aee63e7ee52075271
|
| 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 Aug 2, 2026.
Transparency logRelease files / retrievalkit_embedding-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | retrievalkit_embedding-0.1.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 10.2 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b22810bd096eaaebc32a3463863310338658b44e8944e0011eff6a70e7a9499f
|
|
BLAKE2b-256 checksum How to use checksums |
04c6844ac7577760457f595a1da26a7c8b367a1e0f58e137604eeec4024773b3
|
| 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 Aug 2, 2026.
Transparency logRelease files / retrievalkit_embedding-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | retrievalkit_embedding-0.1.0-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 10.2 MB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d7228cd1dd54f191d250e73176cdc0c8b709ef53672515dcd5137c9bd18d7d9f
|
|
BLAKE2b-256 checksum How to use checksums |
c3440373f6b6809061abd20eb691b4a45b6c5349c9599a9a8a409e9366043bee
|
| 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 Aug 2, 2026.
Transparency logSecurity for retrievalkit-embedding 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 5 files in this release have been uploaded with provenance metadata.
Attestation for retrievalkit_embedding-0.1.0-cp314-cp314-macosx_11_0_arm64.whl
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 Aug 2, 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.