Skip to main content

Retrieval-focused database for local text, vector, and hybrid search — with a Python SDK, CLI, and retrieval SQL.

Project description

ToraDB

Retrieval-focused database for local text, vector, and hybrid search — with a Python SDK, CLI, and retrieval SQL.

ToraDB platform

Features

  • Local on-disk tables — Parquet segments, index sidecars, WAL replay
  • Text, vector, hybrid — BM25, dense ANN (HNSW / DiskANN), fusion
  • SQL + SDKSELECT with sparse/vector search, GROUP BY, materialized views
  • CLI — ingest, query, reindex, catalog helpers

Quick start

Install from PyPI:

python3 -m venv .venv
source .venv/bin/activate
pip install toradb

toradb smoke

Clone the repo to run the bundled example:

git clone https://github.com/sophatvathana/toradb.git
cd toradb
python examples/full_example.py

To hack on ToraDB itself, see Install (build from source with maturin develop).

Documentation

Topic Link
PyPI pypi.org/project/toradb
Docs site toradb.mintlify.app (Mintlify; update URL after deploy)
GitHub hub docs/README.md
Install mdx/install or published /install
Quickstart mdx/quickstart or published /quickstart
Contributing docs/CONTRIBUTING.md
Security docs/SECURITY.md

Edit the docs site: cd mdx && mint dev — see mdx/README.md.

Development

cargo test
pytest tests/python_smoke.py -q

Platform Dashboard (Rust API + UI)

cd apps/platform && pnpm install && pnpm build
cd ../..
cargo run -p toradb-cli --bin toradb-ingest -- platform serve --db examples/_demo_db --static-dir apps/platform/out --addr 127.0.0.1:8787

Open http://127.0.0.1:8787 for the embedded dashboard + API server.

License

Licensed under the Apache License, Version 2.0.

Project details


Download files

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

Source Distribution

toradb-0.1.0.tar.gz (253.5 kB view details)

Uploaded Source

Built Distributions

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

toradb-0.1.0-cp312-cp312-win_amd64.whl (5.3 MB view details)

Uploaded CPython 3.12Windows x86-64

toradb-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl (6.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

toradb-0.1.0-cp312-cp312-musllinux_1_2_aarch64.whl (6.0 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

toradb-0.1.0-cp312-cp312-manylinux_2_28_aarch64.whl (5.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

toradb-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

toradb-0.1.0-cp312-cp312-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file toradb-0.1.0.tar.gz.

File metadata

  • Download URL: toradb-0.1.0.tar.gz
  • Upload date:
  • Size: 253.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.13.3

File hashes

Hashes for toradb-0.1.0.tar.gz
Algorithm Hash digest
SHA256 76bc7d8bde9d35abb8cc997f913d71e1e6a46d02922def87aebec575339d72f4
MD5 7c09729011cd44f8e8c1ea194ed933d8
BLAKE2b-256 ca88755fc20e2ba19e129428982cf50400f0d37d366001c2b9f9005e39ad865c

See more details on using hashes here.

File details

Details for the file toradb-0.1.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: toradb-0.1.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.13.3

File hashes

Hashes for toradb-0.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b440069c62430371f3e355186f494d3f6c65e8942147f739ef42f88fa0aee59e
MD5 644aa89aa685972f42bb08753c987b20
BLAKE2b-256 d87e8c4617326bc81a8e18e108da5b3ecd4d381a9f43eb31ff9be5b19bd33dd0

See more details on using hashes here.

File details

Details for the file toradb-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for toradb-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 86a3a357318f8d77681ffce771e78a200f6d9f92cee92aa1a29a28b16df7c1ee
MD5 34e6a6c67c1df827346657dd86235d2d
BLAKE2b-256 a6236a3b92cd91b91351c4c6f763a71164fe732d759e9143de8d3ea064d42db2

See more details on using hashes here.

File details

Details for the file toradb-0.1.0-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for toradb-0.1.0-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 88ea24172df0c607f8e2b5891953ead76dbd941d9ccb1ea36e9638c80f080d9c
MD5 51a941bba9574408f1e7ce48d9489faf
BLAKE2b-256 1c08e978879a45670933f510a42278147f4d6666a0120797ae22bd1fc0db7b91

See more details on using hashes here.

File details

Details for the file toradb-0.1.0-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for toradb-0.1.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 18be709836dcb82aa605db9484f6fb91ab05f39fa42bbc9f5eae1a7f690fbea4
MD5 08460e54a6f01ca786ee942bcea7a36a
BLAKE2b-256 7b5c247969e567d6287105ba08a30c97f1c8815ee9f648bc7db31355b90c3329

See more details on using hashes here.

File details

Details for the file toradb-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for toradb-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0dde3ce9d470ca4d562edd4fd850b7988608490335ab76d35b71e169257910ac
MD5 89545141d05f379652ff0ed68ccc3d88
BLAKE2b-256 cca0bae90a95b752a51ad04f5073e696dee73cb821e210655fc2705730344ee4

See more details on using hashes here.

File details

Details for the file toradb-0.1.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for toradb-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2b79486c4e6a5b23922ab2ef4b084b28186c6464aa4697ab96f75059488984ef
MD5 79512e8429c52e8e53133068183db00d
BLAKE2b-256 a56dfffca4ce2d9b8e5d87c0a9338add546101f83b8f9991668938418c831c92

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