Skip to main content

Tools for interacting with, editing, and visualizing EPA SWMM5 models

Project description

swmmio

v0.8.0 (2025/01/05)

Programmatic pre and post processing for EPA Stormwater Management Model (SWMM)

workflow status Documentation Status

image

Introduction

swmmio is a Python tool for engineers and hydrologists who need to supercharge their ability to modify and analyze EPA SWMM models and results. Using a familiar Pandas interface, users can replace manual procesess that used to live in spreadsheets with scripts and automation.

The core swmmio.Model object provides accessors to related elements in the INP and RPT. For example, swmmio.Model.subcatchments provides a DataFrame (or GeoDataFrame) joining data from the [SUBCATCHMENTS] and [SUBAREAS] tables in the model.inp file and, if available, the Subcatchment Runoff Summary from the model.rpt file.

Additionally, swmmio provides a lower-level API for reading and writing (almost) all of the sections of the model.inp file which is useful for programmatically modifying EPA SWMM models.

Installation

pip install swmmio

For documentation and tutorials, see our documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

swmmio-0.8.0-py3-none-any.whl (308.0 kB view details)

Uploaded Python 3

File details

Details for the file swmmio-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: swmmio-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 308.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for swmmio-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f2b5f0a2693545c689f754b314c435fa0c95ae0bbb777169de8e28e8bfa07dd
MD5 187c0de0a9c31765834254e78f092e49
BLAKE2b-256 1c066ee3d87b1c202a8482c036477eb05982d7ccb5b02a70e0de44a94562c8a8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page