Installation
Python
Section titled “Python”pip install srvdbPrebuilt wheels are published for Python 3.9 to 3.14 on:
| OS | Architectures |
|---|---|
| Linux (manylinux) | x86_64, aarch64 |
| macOS | x86_64, arm64 (Apple Silicon) |
| Windows | x64 |
No Rust toolchain is needed for wheels. SrvDB has no Python runtime dependencies.
To run the benchmark script you also need numpy, psutil and scikit-learn:
pip install "srvdb[bench]"From source
Section titled “From source”Needed on platforms without a wheel, or to develop SrvDB. Requires Rust 1.99 or newer and maturin.
rustup update stablegit clone https://github.com/Srinivas26k/srvdbcd srvdbpip install maturinmaturin develop --release # builds and installs into the active venvSrvDB is not on crates.io yet. Use it as a git dependency:
[dependencies]srvdb = { git = "https://github.com/Srinivas26k/srvdb" }Check the install
Section titled “Check the install”import srvdbprint(srvdb.__version__)