ToraDB
Retrieval-focused database for local text, vector, and hybrid search — with a Python SDK, CLI, and retrieval SQL.
Features
- Local on-disk tables — Parquet segments, index sidecars, WAL replay
- Text, vector, hybrid — BM25, dense ANN (HNSW / DiskANN), fusion
- SQL + SDK —
SELECTwith 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.
Metadata
Release files for toradb 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 | |
|---|---|---|---|
| toradb-0.1.0.tar.gz | 253.5 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| toradb-0.1.0-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details |
| toradb-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux musl 1.2+ x86-64 | Details |
| toradb-0.1.0-cp312-cp312-musllinux_1_2_aarch64.whl | CPython 3.12 | CPython 3.12 | Linux musl 1.2+ ARM64 | Details |
| toradb-0.1.0-cp312-cp312-manylinux_2_28_aarch64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.28+ ARM64 | Details |
| toradb-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.17+ x86-64 | Details |
| toradb-0.1.0-cp312-cp312-macosx_11_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 11.0+ ARM64 | Details |
Total release size: 34.9 MB
Release files / toradb-0.1.0.tar.gz
| Download URL | toradb-0.1.0.tar.gz |
|---|---|
| Size | 253.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76bc7d8bde9d35abb8cc997f913d71e1e6a46d02922def87aebec575339d72f4
|
|
BLAKE2b-256 checksum How to use checksums |
ca88755fc20e2ba19e129428982cf50400f0d37d366001c2b9f9005e39ad865c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.13.3
|
Release files / toradb-0.1.0-cp312-cp312-win_amd64.whl
| Download URL | toradb-0.1.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 5.3 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b440069c62430371f3e355186f494d3f6c65e8942147f739ef42f88fa0aee59e
|
|
BLAKE2b-256 checksum How to use checksums |
d87e8c4617326bc81a8e18e108da5b3ecd4d381a9f43eb31ff9be5b19bd33dd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.13.3
|
Release files / toradb-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | toradb-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 6.2 MB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
86a3a357318f8d77681ffce771e78a200f6d9f92cee92aa1a29a28b16df7c1ee
|
|
BLAKE2b-256 checksum How to use checksums |
a6236a3b92cd91b91351c4c6f763a71164fe732d759e9143de8d3ea064d42db2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.13.3
|
Release files / toradb-0.1.0-cp312-cp312-musllinux_1_2_aarch64.whl
| Download URL | toradb-0.1.0-cp312-cp312-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 6.0 MB |
| Tags | CPython 3.12 Linux musl 1.2+ ARM64 |
|
SHA-256 checksum How to use checksums |
88ea24172df0c607f8e2b5891953ead76dbd941d9ccb1ea36e9638c80f080d9c
|
|
BLAKE2b-256 checksum How to use checksums |
1c08e978879a45670933f510a42278147f4d6666a0120797ae22bd1fc0db7b91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.13.3
|
Release files / toradb-0.1.0-cp312-cp312-manylinux_2_28_aarch64.whl
| Download URL | toradb-0.1.0-cp312-cp312-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 5.8 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
18be709836dcb82aa605db9484f6fb91ab05f39fa42bbc9f5eae1a7f690fbea4
|
|
BLAKE2b-256 checksum How to use checksums |
7b5c247969e567d6287105ba08a30c97f1c8815ee9f648bc7db31355b90c3329
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.13.3
|
Release files / toradb-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | toradb-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 6.1 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0dde3ce9d470ca4d562edd4fd850b7988608490335ab76d35b71e169257910ac
|
|
BLAKE2b-256 checksum How to use checksums |
cca0bae90a95b752a51ad04f5073e696dee73cb821e210655fc2705730344ee4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.13.3
|
Release files / toradb-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | toradb-0.1.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 5.2 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2b79486c4e6a5b23922ab2ef4b084b28186c6464aa4697ab96f75059488984ef
|
|
BLAKE2b-256 checksum How to use checksums |
a56dfffca4ce2d9b8e5d87c0a9338add546101f83b8f9991668938418c831c92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.13.3
|