Skip to main content

VantaDB × Haystack

Haystack DocumentStore adapter for VantaDB.

Install

Not on PyPI yet. The vantadb-haystack package declares Alpha status and will go live with the first adapters-v* tag release (no local dist/ built yet). Until then, install from source.

# Today, from a repo checkout
cd integrations/haystack && pip install .

Install from PyPI (after first release)

pip install vantadb-haystack

Quickstart

from vantadb_haystack import VantaDBDocumentStore

store = VantaDBDocumentStore(db_path="./my_data")

# Write documents
store.write_documents([
    {"id": "1", "content": "VantaDB is an embedded vector database written in Rust.",
     "meta": {"source": "docs"}},
])

# Filter documents
results = store.filter_documents(filters={"source": "docs"})
for doc in results:
    print(doc.content)

API

  • write_documents(documents, policy) — store documents
  • filter_documents(filters) — retrieve by filter
  • delete_documents(filters) — remove documents
  • count_documents(filters) — count documents

Why VantaDB?

  • Embedded & local-first: the storage engine is a Rust library embedded in your process — no server to deploy, no network hop; data lives in your filesystem.
  • Persistent hybrid search: vectors + BM25 text search out of the box, where Haystack's InMemoryDocumentStore covers only small single-process cases.
  • Zero-setup alternative to hosted stacks: unlike Zep (requires a server) or Cognee (spins up its own knowledge-graph runtime), VantaDB is a plain library you import.

Development

pip install -e .

Metadata

Release files for vantadb-haystack 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vantadb-haystack 0.9.0
File Size Uploaded Provenance
vantadb_haystack-0.9.0.tar.gz 8.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for vantadb-haystack 0.9.0
File Interpreter ABI Platform
vantadb_haystack-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.0 kB

Release files / vantadb_haystack-0.9.0.tar.gz

Download URL vantadb_haystack-0.9.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bc220fa8a563fe39269a5625f58ea6896540c6161a6a4aa6fd2f6b25f440cdc1
BLAKE2b-256 checksum
How to use checksums
5fa47292f26ce5fae2cee7e4e48650a4ef7a5cc5bb3fa335ab9d4b8a4cceb908
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / vantadb_haystack-0.9.0-py3-none-any.whl

Download URL vantadb_haystack-0.9.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22e153a4169a892e2dca286037a512fa482d8e45c3b89c64f21d3b5eab6b5995
BLAKE2b-256 checksum
How to use checksums
d6271c3722b65c76dc137a010a605eda9d22597e2e8681a6305032b7d8ff32d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for vantadb-haystack 0.9.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files No provenance

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