Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 587 Bytes

File metadata and controls

28 lines (18 loc) · 587 Bytes

hat-splitter

These are the Python bindings for the HAT splitting rule.

Development

The Python development environment is managed with uv. Install it if you haven't already.

  1. Build the crate and install it as a Python module in the uv-managed venv:
uv run maturin develop
  1. Run the tests:
uv run pytest

If 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