These are the Python bindings for the HAT splitting rule.
The Python development environment is managed with uv. Install it if you
haven't already.
- Build the crate and install it as a Python module in the
uv-managed venv:
uv run maturin develop- Run the tests:
uv run pytestIf you're developing, you may need to touch the pyproject.toml file to force
pip to reinstall the package after maturin rebuilds the shared object, e.g.,
touch pyproject.toml && uv run maturin develop && uv run pytest -vv -x