Delta Hydro

swmm_api

Active

Pure-Python reading, editing and running of SWMM INP, RPT and OUT files — the full file-format toolkit.

Pricing
Open Source
License
MIT
Commercial use
Permitted
Ecosystem
Python, pandas, SWMM
Platform
Windows, macOS, Linux

Install

pip install swmm-api

About swmm_api

swmm_api, by Markus Pichler (TU Graz), covers the complete SWMM file surface in Python: parse and programmatically edit input files with every section typed, run the engine, and read both the report and binary output files back into pandas. Where PySWMM wraps the running engine, swmm_api treats the files themselves as first-class objects — which is exactly what bulk model refactoring, format conversion and reproducible model generation need.

It overlaps swmmio in spirit but goes deeper on INP fidelity (round-tripping models without losing sections), and its European user base has grown steadily. MIT-licensed, well documented, actively maintained.

Where it fits in the workflow

TerrainCatchmentRainfallRunoffRoutingHydraulicsMappingReporting

Alternatives to swmm_api

Ranked by the topics, categories and workflow stages they share with swmm_api.

PySWMM

Open SourceVerified

Python interface to the SWMM engine — step through simulations, read state, and control gates in real time.

Urban Stormwater & InfrastructureActiveSWMMPython Hydrology

Causeway Flow

Commercial

Storm and foul water drainage design and 1D hydraulic modelling software for UK and Irish civil engineers.

Urban Stormwater & InfrastructureActiveRational MethodSWMM

EPA's toolbox for sanitary sewer overflow planning — RDII analysis with the SWMM engine underneath.

Urban Stormwater & InfrastructureDormantSewer ModellingSWMM

MatSWMM

Open Source

MATLAB (and Python/LabVIEW) co-simulation with SWMM — built for real-time control research.

Urban Stormwater & InfrastructureDormantSWMMSewer Modelling

pystorms

Open Source

Benchmark scenarios for smart-stormwater control — test real-time control algorithms on curated SWMM systems.

Urban Stormwater & InfrastructureStableSWMMPython Hydrology

swmmio

Open Source

Pandas-powered reading, editing and version-diffing of SWMM models — the model-management side of the stack.

Urban Stormwater & InfrastructureActiveSWMMPython Hydrology