delineator
Fast global watershed delineation in Python — the MERIT-Hydro engine behind the Global Watersheds web app.
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.
Open-source Python packages that cover the flood workflow — from DEM to inundation map.
Ranked by the topics, categories and workflow stages they share with pysheds.
Fast global watershed delineation in Python — the MERIT-Hydro engine behind the Global Watersheds web app.

500+ fast geospatial analysis tools with the best DEM hydrology toolkit in open source.
Deltares' Python framework that builds ready-to-run hydrological models from global and local datasets.
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.
The global hydrography reference — basins, river networks, lakes and hydro-environmental attributes, free.