QGIS
The free, open-source GIS that has become the default spatial platform for water engineers worldwide.
Watershed delineation in pure Python — DEM conditioning to catchment boundary in a dozen lines.
Install
pip install pyshedspysheds implements the core DEM hydrology chain — pit filling, depression resolution, flow direction (D8 and D-infinity), flow accumulation, catchment delineation, and distance-to-outlet — as a NumPy/Numba-accelerated Python library with a deliberately small API. Read a DEM, snap a pour point, extract a catchment: about ten lines.
For embedding delineation inside a larger Python application or batch-processing hundreds of outlets, pysheds is the lightest-weight serious option. It doesn't try to be a full terrain suite (no breaching, no lidar); WhiteboxTools complements it where conditioning gets difficult.
Other geospatial & hydro-gis tools covering similar workflow stages.
The free, open-source GIS that has become the default spatial platform for water engineers worldwide.
500+ fast geospatial analysis tools with the best DEM hydrology toolkit in open source.
Esri's free hydrology framework for ArcGIS Pro — terrain preprocessing and the data model behind many agency workflows.
Four decades of geospatial engineering — r.watershed and the most battle-tested hydrology modules in GIS.
Click anywhere on earth, get the upstream watershed in seconds — free delineation in the browser.
Planetary-scale geospatial analysis in the cloud — the data catalogue and compute behind modern water remote sensing.