Installation¶
Prerequisites¶
- Python >= 3.10
- pixi (recommended) or pip
Install with pixi (recommended)¶
pixi handles Python, geospatial C libraries (GDAL, GEOS, PROJ), and all dependencies from conda-forge:
Pixi environments
pixi creates three environments:
default--- core dependencies onlydev--- development (pytest, ruff, mypy, pre-commit)docs--- documentation building (mkdocs-material)
Most development commands use the dev environment:
pixi run -e dev test, pixi run -e dev check, etc.
Install with pip¶
Warning
hydro-param is not yet published to PyPI. Install from source using
pixi (above) or pip install -e . in a development environment with
GDAL, GEOS, and PROJ system libraries pre-installed.
Verify installation¶
Run the test suite to confirm everything works: