Keyboard shortcuts

Press โ† or โ†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

โš™๏ธ Installation

๐Ÿ“ฆ Python extension (pip)

pip install ramparils

๐Ÿฆ€ CLI binaries

Clone the repository and install both command-line tools:

git clone https://github.com/deeper4ai/ramparils.git
cd ramparils
cargo install --path . --locked

This installs ramparils and ramparils-db into Cargoโ€™s binary directory, normally ~/.cargo/bin. Make sure that directory is on PATH.

For a repository-local build instead:

cargo build --release --locked
./target/release/ramparils --help
./target/release/ramparils-db --help

Both methods require Rust 1.85+.

๐Ÿ› ๏ธ Python extension (from source)

git clone https://github.com/deeper4ai/ramparils.git
cd ramparils
pip install maturin
maturin develop

maturin develop installs the extension into the active Python environment. Using a virtual environment is recommended.

โœ… Verify

Verify the Python package:

python -c "import ramparils; help(ramparils.specialize)"

Verify a Cargo installation:

ramparils --help
ramparils-db --help

The Python package requires Python 3.9 or newer. The command-line tools do not require Python.