toradb package (prebuilt wheels for macOS, Linux, and Windows). Use pip for normal use; build from source only when you are developing ToraDB itself.
Install from PyPI
Build from source
Use this path when you need unreleased changes or you are contributing to the Rust/Python codebase.Prerequisites
- Rust stable toolchain (
rustup,cargo) - Python 3.8+
pipmaturin(for building the Python extension)
rust-toolchain.toml.
Run tests
Rust tests (source tree only):Optional benchmark
Troubleshooting
- If
pip install toradbfails on an unsupported platform, try build from source on that machine. - If
maturin developfails, confirm the virtual environment is activated. - If Python cannot import
toradbafter a source build, rerunmaturin develop. - If the
toradbcommand is not found, ensure the venvbindirectory is on yourPATH(activation usually handles this).
