Skip to main content

A high-performance vector database engine with native C++ backend and Python bindings

Project description

zvec logo

Code Coverage Main License PyPI Release Python Versions npm Release

alibaba%2Fzvec | Trendshift

🚀 Quickstart | 🏠 Home | 📚 Docs | 📊 Benchmarks | 🔎 DeepWiki | 🎮 Discord | 🐦 X (Twitter)

Zvec is an open-source, in-process vector database — lightweight, lightning-fast, and designed to embed directly into applications. Built on Proxima (Alibaba's battle-tested vector search engine), it delivers production-grade, low-latency, scalable similarity search with minimal setup.

💫 Features

  • Blazing Fast: Searches billions of vectors in milliseconds.
  • Simple, Just Works: Install and start searching in seconds. No servers, no config, no fuss.
  • Dense + Sparse Vectors: Work with both dense and sparse embeddings, with native support for multi-vector queries in a single call.
  • Hybrid Search: Combine semantic similarity with structured filters for precise results.
  • Runs Anywhere: As an in-process library, Zvec runs wherever your code runs — notebooks, servers, CLI tools, or even edge devices.

📦 Installation

Python

Requirements: Python 3.10 - 3.14

pip install zvec

Node.js

npm install @zvec/zvec

✅ Supported Platforms

  • Linux (x86_64, ARM64)
  • macOS (ARM64)

🛠️ Building from Source

If you prefer to build Zvec from source, please check the Building from Source guide.

⚡ One-Minute Example

import zvec

# Define collection schema
schema = zvec.CollectionSchema(
    name="example",
    vectors=zvec.VectorSchema("embedding", zvec.DataType.VECTOR_FP32, 4),
)

# Create collection
collection = zvec.create_and_open(path="./zvec_example", schema=schema)

# Insert documents
collection.insert([
    zvec.Doc(id="doc_1", vectors={"embedding": [0.1, 0.2, 0.3, 0.4]}),
    zvec.Doc(id="doc_2", vectors={"embedding": [0.2, 0.3, 0.4, 0.1]}),
])

# Search by vector similarity
results = collection.query(
    zvec.VectorQuery("embedding", vector=[0.4, 0.3, 0.3, 0.1]),
    topk=10
)

# Results: list of {'id': str, 'score': float, ...}, sorted by relevance
print(results)

📈 Performance at Scale

Zvec delivers exceptional speed and efficiency, making it ideal for demanding production workloads.

Zvec Performance Benchmarks

For detailed benchmark methodology, configurations, and complete results, please see our Benchmarks documentation.

🤝 Join Our Community

Stay updated and get support — scan or click:

💬 DingTalk 📱 WeChat 🎮 Discord X (Twitter)
DingTalk QR Code WeChat QR Code Discord X (formerly Twitter) Follow
Scan to join Scan to join Click to join Click to follow

❤️ Contributing

We welcome and appreciate contributions from the community! Whether you're fixing a bug, adding a feature, or improving documentation, your help makes Zvec better for everyone.

Check out our Contributing Guide to get started!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

zvec-0.3.0-cp314-cp314-win_amd64.whl (48.0 MB view details)

Uploaded CPython 3.14Windows x86-64

zvec-0.3.0-cp314-cp314-manylinux_2_28_x86_64.whl (44.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

zvec-0.3.0-cp314-cp314-manylinux_2_28_aarch64.whl (39.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

zvec-0.3.0-cp314-cp314-macosx_11_0_arm64.whl (27.2 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

zvec-0.3.0-cp313-cp313-win_amd64.whl (47.0 MB view details)

Uploaded CPython 3.13Windows x86-64

zvec-0.3.0-cp313-cp313-manylinux_2_28_x86_64.whl (44.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

zvec-0.3.0-cp313-cp313-manylinux_2_28_aarch64.whl (39.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

zvec-0.3.0-cp313-cp313-macosx_11_0_arm64.whl (27.2 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

zvec-0.3.0-cp312-cp312-win_amd64.whl (47.0 MB view details)

Uploaded CPython 3.12Windows x86-64

zvec-0.3.0-cp312-cp312-manylinux_2_28_x86_64.whl (44.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

zvec-0.3.0-cp312-cp312-manylinux_2_28_aarch64.whl (39.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

zvec-0.3.0-cp312-cp312-macosx_11_0_arm64.whl (27.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

zvec-0.3.0-cp311-cp311-win_amd64.whl (47.0 MB view details)

Uploaded CPython 3.11Windows x86-64

zvec-0.3.0-cp311-cp311-manylinux_2_28_x86_64.whl (44.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

zvec-0.3.0-cp311-cp311-manylinux_2_28_aarch64.whl (39.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

zvec-0.3.0-cp311-cp311-macosx_11_0_arm64.whl (27.2 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

zvec-0.3.0-cp310-cp310-win_amd64.whl (47.0 MB view details)

Uploaded CPython 3.10Windows x86-64

zvec-0.3.0-cp310-cp310-manylinux_2_28_x86_64.whl (44.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

zvec-0.3.0-cp310-cp310-manylinux_2_28_aarch64.whl (39.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

zvec-0.3.0-cp310-cp310-macosx_11_0_arm64.whl (27.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file zvec-0.3.0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: zvec-0.3.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 48.0 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for zvec-0.3.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 a60da0a40dc35a58da6c1f6776359b94e433e4675e144ee2a09a2962881bb5ea
MD5 cda81b82d55ac31d0d983d2b47bbfa03
BLAKE2b-256 9f65f161006bd6c574de5d73cc426f8038c58790b0fa889002b575268ec393f7

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for zvec-0.3.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b57fbd963c9dcca1a5050ce52338cabe8a50fcf0bf19fa78c145e4d470b847f7
MD5 71de8f5bbf9a6cb230af527d6c3550f6
BLAKE2b-256 1435d619ddc85da0eb9502c248af10ccbf391a7080263e4d2f133d8b5f99403f

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for zvec-0.3.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 aca6398e29820f0da343f5fb92bdd7b99090e8ad07d06e6682d6c0532ad9f420
MD5 0ca28a73fce28d2f4dfc8ab63d53a289
BLAKE2b-256 aa4a6e5ab7f5e91437eefd5f4e0637713896f161b4a7230231cf65b495e1994d

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zvec-0.3.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dd805222d9f1013d3e949753ce39d18bd572e7b652b0bf308f8fe61df0aa3877
MD5 1abb3e3eeac39c12726b3cf4ddd96ee4
BLAKE2b-256 95e7be9dcb896b543924faea884f34d26284aa40c6e1733f2174ea5e282a1582

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: zvec-0.3.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 47.0 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for zvec-0.3.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9be8f2026ee8d2992ab68fba116317b39c3ab341afa030aeeaa3612bdd4c0e06
MD5 fb1e73cf21487bbed8372b7db1dcf937
BLAKE2b-256 935742bd185ec976cf580bef70d7fe64ccb59602bb887bb8f6c5c81b18eea3d8

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for zvec-0.3.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 68577ef61f83ce85edd15ef0f92453a9e95332aeec2db9fcb925eb5e72391dda
MD5 f7db6c6255f3340cdf5decf6ecbef262
BLAKE2b-256 e8d82499254e25b5d37590806a6cdad8c65851cd561e5809b65fb0e1bbb2a322

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for zvec-0.3.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8c9518c43ed9e661407688995eb35f3b1164d8f4e33ae91951a193239a28b547
MD5 15410d2089643513797977583377c3ed
BLAKE2b-256 b47bd47617aac5856dee1b1e55a842f0b948447fa178828be60d6c5fcb704fa7

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zvec-0.3.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 97d2dd089503be372c08f65fe2472e6dafe9ecdd96721f5e80a03961c9a8264d
MD5 7f669e7b0138047698cd42318f7b817b
BLAKE2b-256 c626c61a1bb6a8a94a4ca80faad204e7ea9e134ec5b0348da0905162d00b4eb3

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: zvec-0.3.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 47.0 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for zvec-0.3.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e8664d3036b016c21541f005fd3287e5b0756585760f7fa28a4328fe221efe41
MD5 bc6243a4558135f4e95547eb101c96ef
BLAKE2b-256 1db18b3f8b8a0b9551268d7a4af6675f9d95474b9f9b25aac2f81786429c2f1e

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for zvec-0.3.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 afe72d9e4cedbc2e30e48284384f70689098447fadb126b034a789916ea63f23
MD5 e4f4c7ab7c2de9481a2a460aaacb0acd
BLAKE2b-256 a319eeaaeeaef010cbf584e2c9b8252d4237118ba133c2798a5c3450fc6fa989

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for zvec-0.3.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d71900105b232ed75ab765cc4df404de94f228183d987ef93dc0e335e1b1e980
MD5 077cfdffaffef0eafef46fa36a0d2f13
BLAKE2b-256 e8d63c3d0935e7a1b23a677483718795629dc0cfa80dc6596d2b9293bed90762

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zvec-0.3.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 931045131f21ac1892d0d086cf0b03d5d2873c88ca5b60da57ff6ffc1353104e
MD5 96cba5b3f2315b6d93c36580acdf27c4
BLAKE2b-256 9d2d8da245b2ceee956a3d451fc2ea22ac7d9a63a9f650940a5d91def391f34e

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: zvec-0.3.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 47.0 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for zvec-0.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a93db72899b06611a3910df14a5e244bfed16444d774ce5f32ffcd2bf0c710da
MD5 679518051aa507fb5e9b1e62d73eb59c
BLAKE2b-256 054297c4c559ccdd320c03c6b19f1d6691bfd9d5c7495433dfc6b1964944374c

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for zvec-0.3.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1277b165502583e2e16c4aceecfc88a5365fbc18d14bb648aff391991be67596
MD5 48802f6c484b489aaaa584c3a5b56a8e
BLAKE2b-256 85453bf2f754128d4fa599f520efc5c29b7e29239e071be48ac01380c9d93262

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for zvec-0.3.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c2f549743843550734c37435d85ae58ff4b4b4a03219103ba33098363c8dc15e
MD5 cce26ada7285689be01849f64ef23b07
BLAKE2b-256 95ec38f5787f4b2bc295b06c5ef26d30f4e824eb122420a6f91ddfbd0aef657b

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zvec-0.3.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 972297f77446f0b938f91a455acc91858bb7d7ddc2536be6b3394447c1787d4e
MD5 3ae919eea7d285581204854123720811
BLAKE2b-256 f68a07bfee47f4ad0fe959b91d6db26c88d477a482003246516b123874d99c8b

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: zvec-0.3.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 47.0 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for zvec-0.3.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d7f19e4832e2ab5ca85a8c11ab77868a0c566e9ae648b02dd2eb65f6e55257a9
MD5 f944b1f5f17f96ca514f8b4515261c59
BLAKE2b-256 65183a798d5c129516dbc975476c07431d2c04fe613eb37068b5f2bfa65dfc62

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for zvec-0.3.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 90007d1ef46a9a1761d48a4348dceb1cace820cfe5c70b42ca12cb550734d87d
MD5 77059b731e62b2a4d631b33c32a2615e
BLAKE2b-256 bfc870d615bd602c54fb11aa6ab7d233c1178885320b7ec1a36f72baf0d4dc23

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for zvec-0.3.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b7db033afb817093b374640383916a3acb0a31c122992a43d2f5f25fcf477476
MD5 3fa6a2d7a2c7f4fc03f9d0389048734d
BLAKE2b-256 364c7c36686664d772010fa00b8ae77c950e8cf4d79e38d343e2bf1e580987c1

See more details on using hashes here.

File details

Details for the file zvec-0.3.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zvec-0.3.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0f2562cd13e8da5c82ab1291d88ff9c660b620d250c7c0157282530ab4b898ea
MD5 ed98fe3de3dffa741d1f5f35dd7668ec
BLAKE2b-256 cb1d96498ad9a69e2b1ee84855a4a1f642e3e064870835ed9570ffad452eccc3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page