Installation

Install the published Python package from PyPI:

pip install openpit

The package requires Python 3.10 or newer.

Local development install

From a checkout of the monorepo, install the Python bindings package:

pip install ./bindings/python

For native-extension development, use Maturin:

maturin develop --manifest-path bindings/python/Cargo.toml

Documentation build

Documentation dependencies are isolated from runtime package dependencies:

cd bindings/python
pip install -r docs/requirements.txt
pip install .
sphinx-build -b html docs/ docs/_build -W