zvec-rust
zvec-rust is a Rust-native vector collection engine with a compiled Python API.
It provides durable storage (snapshot + write-ahead log), dense/sparse vector
search, scalar filtering, full-text search, and hybrid (multi-route) retrieval
with pluggable rerankers.
Install
pip install zvec-rust
Quick start
import zvec_rust as zvec
schema = zvec.CollectionSchema(
name="docs",
vectors=[zvec.VectorSchema("embedding", zvec.DataType.VECTOR_FP32, dimension=4)],
fields=[zvec.FieldSchema("category", zvec.DataType.STRING)],
)
col = zvec.create_and_open("./data/docs", schema, durability_mode="interval")
col.insert([
zvec.Doc("a", vectors={"embedding": [1.0, 0.0, 0.0, 0.0]}, fields={"category": "blog"}),
zvec.Doc("b", vectors={"embedding": [0.0, 1.0, 0.0, 0.0]}, fields={"category": "news"}),
])
# Vector search with a scalar filter.
hits = col.query(
zvec.Query(field_name="embedding", vector=[1.0, 0.0, 0.0, 0.0]),
topk=5,
filter="category == 'blog'",
)
# Hybrid (multi-route) search fused by a reranker.
hits = col.query(
[
zvec.Query(field_name="embedding", vector=[1.0, 0.0, 0.0, 0.0]),
zvec.Query(field_name="embedding", vector=[0.0, 1.0, 0.0, 0.0]),
],
topk=5,
reranker=zvec.RrfReRanker(),
)
Highlights
- Durability modes:
always,interval,manual(WAL + checkpoint + manifest). - Crash-recovery: committed ops are replayed from the WAL on reopen.
- ANN index params: HNSW, IVF, Flat, DiskANN, Vamana, HNSW-RaBitQ.
- Hybrid retrieval:
RrfReRanker,WeightedReRanker,CallbackReRanker. - Non-throwing
*_statusAPI surface returningStatusobjects.
See the project repository for the full API reference, production guide, and parity audit.
Licensed under Apache-2.0.
Metadata
Release files for zvec-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 | |
|---|---|---|---|
| zvec_rust-0.1.0.tar.gz | 197.0 kB | Details |
Built distributions (wheels)
Total release size: 49.1 MB
Release files / zvec_rust-0.1.0.tar.gz
| Download URL | zvec_rust-0.1.0.tar.gz |
|---|---|
| Size | 197.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a5da2529d2394ef49695cb06d0f5582ac89ea4e56d07c7c2f13c6178e3ab434
|
|
BLAKE2b-256 checksum How to use checksums |
d068afdfb068a4b1d0f47b4fd2cb3717b3400272c3659ef945b7f4eaf879d1c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 7, 2026.
Transparency logRelease files / zvec_rust-0.1.0-cp313-cp313-win_amd64.whl
| Download URL | zvec_rust-0.1.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
394a06035fa1fb22dbc8b5bcfc30f37ba59f23f2c2981b536f07e42307be3d8e
|
|
BLAKE2b-256 checksum How to use checksums |
0c1256b469413439648bc2b4322a88c6f9dedcc277904d839cffe7a9bb5ae666
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 7, 2026.
Transparency logRelease files / zvec_rust-0.1.0-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | zvec_rust-0.1.0-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
edf3ff29f25f1ca1461cb9a00187718ed9817600983fcbecf45d390f706d488c
|
|
BLAKE2b-256 checksum How to use checksums |
d0d269eb4b19f04045660898beed4f0497ca4a177a193b5c2d39a844d126ad9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 7, 2026.
Transparency logRelease files / zvec_rust-0.1.0-cp313-cp313-manylinux_2_28_aarch64.whl
| Download URL | zvec_rust-0.1.0-cp313-cp313-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 4.6 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
6f9c6dd50dbe0636992c9c86f6069590354c7dcdc7083905b6835a2283792f8d
|
|
BLAKE2b-256 checksum How to use checksums |
a32e30fce893aee7559120ee0e64a1b5597dd57b0462c816e3fc5d6c2f3f300d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 7, 2026.
Transparency logRelease files / zvec_rust-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | zvec_rust-0.1.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.2 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8d2d7c2b827aa84bbab79b55c95cdb832637308485222b9092211b93ca713d94
|
|
BLAKE2b-256 checksum How to use checksums |
85541fd980c60a33cb68c47502b5997b07f4c2a5d2a62dc77389e155853dcb67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 7, 2026.
Transparency logRelease files / zvec_rust-0.1.0-cp313-cp313-macosx_10_12_x86_64.whl
| Download URL | zvec_rust-0.1.0-cp313-cp313-macosx_10_12_x86_64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.13 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
2e173078c0b2befbb73922b0f6e31dd48aee7c9742ec19fc0bbc262b6c31027e
|
|
BLAKE2b-256 checksum How to use checksums |
3e9fa10c7c19871ab9653a32f0ae2cc4cb4a1f940f1f54c63a2153d5d5d2be3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 7, 2026.
Transparency logRelease files / zvec_rust-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | zvec_rust-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
56e95f45b6d6199cd9248dd11c95a880828b58c1fee5269b755995143c18270b
|
|
BLAKE2b-256 checksum How to use checksums |
7ff26c157f3165cfd0529fc7116b01a75f87a24c553cb2b5b0bd824ba604fe7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 7, 2026.
Transparency logRelease files / zvec_rust-0.1.0-cp312-cp312-manylinux_2_28_aarch64.whl
| Download URL | zvec_rust-0.1.0-cp312-cp312-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 4.6 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
59bf74515710fb1ed1c7b92993d250daf95af00cd5a52388e9dd22ee883671f2
|
|
BLAKE2b-256 checksum How to use checksums |
cba4b4937ff5949f91c41c7afa2002413bf10fc55d2959b3d0aaa617e004dcbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 7, 2026.
Transparency logRelease files / zvec_rust-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | zvec_rust-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
fdd47efbd66f5fd5eca86a244163bef559dbd716d6230cac0d3133813c78f876
|
|
BLAKE2b-256 checksum How to use checksums |
2f81bfec06df40f2e824703f5d254528e13fe4dc337938f517c4a84c9cc1e36f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 7, 2026.
Transparency logRelease files / zvec_rust-0.1.0-cp311-cp311-manylinux_2_28_aarch64.whl
| Download URL | zvec_rust-0.1.0-cp311-cp311-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 4.6 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
ace498ad7b9ffaa91b2ab8440a6dde8f55b7eb9ad053990a18f4af5b24878c1d
|
|
BLAKE2b-256 checksum How to use checksums |
183dcde4fac4113281a1d784d810fd3fbe16ba6f332b3a1443b2981a0cf8baa4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 7, 2026.
Transparency logRelease files / zvec_rust-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl
| Download URL | zvec_rust-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
fc36305af5a77104906f22455ad1e0f51c2dc11aa8df34bbd5668ac62c51a4ef
|
|
BLAKE2b-256 checksum How to use checksums |
48875fa25cf8f60bfbf35ec1be7e039ae7cbf0c5402071d510cc1ae693a764a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 7, 2026.
Transparency logRelease files / zvec_rust-0.1.0-cp310-cp310-manylinux_2_28_aarch64.whl
| Download URL | zvec_rust-0.1.0-cp310-cp310-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 4.6 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
58426993414d3591ead856751a496e509654a342e9dfe5c16ccf7f89d26e462a
|
|
BLAKE2b-256 checksum How to use checksums |
ab57ee0ccc2407b670cd31b09e349fac0f3bd18ac415e1940f27953f1edd86a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 7, 2026.
Transparency log