Skip to main content

ZeusDB

Meta       Documentation Status  ZeusDB 

✨ What is ZeusDB?

ZeusDB is a next-generation, high-performance data platform designed for modern analytics, machine learning, and real-time insights. Born out of the need for scalable, intelligent data infrastructure, ZeusDB fuses the power of traditional databases with the flexibility and performance of modern data architectures. It is built for data teams, engineers, and analysts who need low-latency access to complex analytical workflows, without sacrificing ease of use or developer control.

ZeusDB serves as the backbone for demanding applications, offering advanced features such as:

  • Vector and structured data support to power hybrid search, recommendation engines, and LLM integrations.

  • Real-time analytics with low-latency querying, ideal for dashboards and ML model serving.

  • Extensibility and safety through modern languages like Rust and Python, enabling custom logic and high-performance pipelines.

  • DevOps-ready deployment across cloud or on-prem, with version-controlled configuration, observability hooks, and minimal operational overhead.

Whether you are building a GenAI backend, managing large-scale time-series data, or architecting a unified analytics layer, ZeusDB gives you the foundation to move fast, at scale, with the flexibility of modular architecture.


🛠️ Installation

You can install ZeusDB with 'uv' or alternatively using 'pip'.

Recommended (with uv):

uv pip install zeusdb

Alternatively (using pip):

pip install zeusdb

📦 ZeusDB Vector Database

ZeusDB Vector Database is a high-performance, Rust-powered vector database built for fast and scalable similarity search across high-dimensional embeddings. Designed for modern machine learning and AI workloads, it provides efficient approximate nearest neighbor (ANN) search, supports real-time querying at scale, and seamlessly transitions from in-memory performance to durable disk persistence.

Whether you're powering document search, enabling natural language interfaces, or building custom vector-based tools, ZeusDB offers a lightweight, extensible foundation for high-performance vector retrieval. It’s also well-suited for Retrieval-Augmented Generation (RAG) pipelines, where fast and semantically rich context retrieval is critical to enhancing large language model (LLM) responses.


⭐ Features

"Start fast. Tune deep. Build for any scale."

🐍 User-friendly Python API for adding vectors and running similarity searches

🔥 High-performance Rust backend optimized for speed and concurrency

🔍 Approximate Nearest Neighbor (ANN) search using HNSW for lightning fast results

📦 Product Quantization (PQ) for compact storage, faster distance computations, and scalability for Big Data

📥 Flexible input formats, including native Python types and NumPy arrays

🗂️ Metadata filtering for precise and contextual querying

💾 Save and reload full indexes, metadata, and quantized vectors across systems

📝 Enterprise-grade logging with flexible formats and output targets


🔥 Quick Start Example

# Import the vector database module
from zeusdb import VectorDatabase

# Instantiate the VectorDatabase class
vdb = VectorDatabase()

# Initialize and set up the database resources
index = vdb.create(index_type="hnsw", dim=8)

# Vector embeddings with accompanying ID's and Metadata
records = [
    {"id": "doc_001", "values": [0.1, 0.2, 0.3, 0.1, 0.4, 0.2, 0.6, 0.7], "metadata": {"author": "Alice"}},
    {"id": "doc_002", "values": [0.9, 0.1, 0.4, 0.2, 0.8, 0.5, 0.3, 0.9], "metadata": {"author": "Bob"}},
    {"id": "doc_003", "values": [0.11, 0.21, 0.31, 0.15, 0.41, 0.22, 0.61, 0.72], "metadata": {"author": "Alice"}},
    {"id": "doc_004", "values": [0.85, 0.15, 0.42, 0.27, 0.83, 0.52, 0.33, 0.95], "metadata": {"author": "Bob"}},
    {"id": "doc_005", "values": [0.12, 0.22, 0.33, 0.13, 0.45, 0.23, 0.65, 0.71], "metadata": {"author": "Alice"}},
]

# Upload records using the `add()` method
add_result = index.add(records)
print("\n--- Add Results Summary ---")
print(add_result.summary())

# Perform a similarity search and print the top 2 results
# Query Vector
query_vector = [0.1, 0.2, 0.3, 0.1, 0.4, 0.2, 0.6, 0.7]

# Query with no filter (all documents)
results = index.search(vector=query_vector, filter=None, top_k=2)
print("\n--- Query Results Output - Raw ---")
print(results)

print("\n--- Query Results Output - Formatted ---")
for i, res in enumerate(results, 1):
    print(f"{i}. ID: {res['id']}, Score: {res['score']:.4f}, Metadata: {res['metadata']}")

Output

--- Add Results Summary ---
5 inserted, 0 errors

--- Query Results Output - Raw ---
[{'id': 'doc_001', 'score': 1.1920928955078125e-07, 'metadata': {'author': 'Alice'}}, {'id': 'doc_003', 'score': 0.000988304615020752, 'metadata': {'author': 'Alice'}}]

--- Query Results Output - Formatted ---
1. ID: doc_001, Score: 0.0000, Metadata: {'author': 'Alice'}
2. ID: doc_003, Score: 0.0010, Metadata: {'author': 'Alice'}

📄 License

This project is licensed under the Apache License 2.0.

Download files

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

Source Distribution

zeusdb-0.2.0.tar.gz (172.0 kB view details)

Uploaded Source

Built Distribution

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

zeusdb-0.2.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file zeusdb-0.2.0.tar.gz.

File metadata

  • Download URL: zeusdb-0.2.0.tar.gz
  • Upload date:
  • Size: 172.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for zeusdb-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5d973b05adac4f003c61da08809f44e11d6f4b6f2b77957a15684be9a5a420f7
MD5 5ede2b7249a6c6ddcf2e41bd2c7c09e6
BLAKE2b-256 d46d01d44308857ac92338d4038bee82da4bfffdacaff72df567c956643fcc63

See more details on using hashes here.

Provenance

The following attestation bundles were made for zeusdb-0.2.0.tar.gz:

Publisher: publish-pypi.yml on ZeusDB/zeusdb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zeusdb-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: zeusdb-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for zeusdb-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c2c34de5114c01528b1093830befd8de96f99496c68eb31e9d82355d1a2e0f3
MD5 5643abc0e56e171b169610afedb54f50
BLAKE2b-256 30feec7dd240dcc98444679b7c35100e2b17982677de768bb81f3cdab6b0a5f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for zeusdb-0.2.0-py3-none-any.whl:

Publisher: publish-pypi.yml on ZeusDB/zeusdb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.0

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

0.0.0

2 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