Installation

pip install talsimpy

Optional extras: pip install talsimpy[plot] (plotting) or talsimpy[raster] (xarray/rioxarray).

Requirements

  • Python 3.9 or newer

  • For running simulations: a local Talsim engine (talsimw64.exe, Windows).

Optional extras

Extra

Installs

Required for

plot

matplotlib

Timeseries.plot()

raster

xarray, rioxarray

TalsimDataset.results_to_xarray()

Development installation

git clone https://github.com/sydroconsult/talsimpy.git
cd talsimpy
uv sync --group test --group docs
uv run pytest
uv run sphinx-build -b html docs docs/_build/html