Skip to main content

swmm-toolkit

swmm-toolkit contains SWIG generated Python wrappers for the swmm-solver and swmm-output libraries.

Build Status

Build Wheels

Installation

version Downloads

pip install swmm-toolkit

Community

Discord

Join the discussion! We will do everything we can to help you!

Features

swmm-toolkit makes SWMM a fully fledged Python extension with:

  • Compatibility with USEPA SWMM
  • Python integration at the speed of C
  • Full access to library APIs
  • Pythonic naming, enums, exceptions, and return value handling

Basic Usage

Run a SWMM simulation.

from swmm.toolkit import solver

solver.run('input_file.inp', 'report_file.rpt', 'output_file.out')

Build From Source

[!NOTE]
Since version version 0.16.1, swmm-toolkit by default has been built and published using the python stable ABI for python 3.9 onward. Using the stable ABI introduces very minor performance reduction while substantially simplifying our release process and compatibility with future python versions.

The commands below show how to build this package with and without using the python stable ABI.

Build with python stable ABI

python -m build .

Build without python stable ABI

NO_STABLE_ABI=1 python -m build

Release files for swmm-toolkit 0.17.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swmm-toolkit 0.17.0
File Size Uploaded
swmm_toolkit-0.17.0.tar.gz 592.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for swmm-toolkit 0.17.0
File
swmm_toolkit-0.17.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
swmm_toolkit-0.17.0-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details
swmm_toolkit-0.17.0-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details
swmm_toolkit-0.17.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
swmm_toolkit-0.17.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details
swmm_toolkit-0.17.0-cp39-abi3-macosx_11_0_x86_64.whl CPython 3.9 abi3 macOS 11.0+ x86-64 Details
swmm_toolkit-0.17.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details

Total release size: 5.0 MB

Release files / swmm_toolkit-0.17.0.tar.gz

Download URL swmm_toolkit-0.17.0.tar.gz
Size 592.7 kB
Tags Source
SHA-256 checksum
How to use checksums
83e8e9dccbac785aa4868643cdfc3972ff7ffe06f04fdfa6f603b82f5c643e72
BLAKE2b-256 checksum
How to use checksums
066fe059e9e7d3a7107cbd1dc5f897b0b29ae32b63b7a2287ad87d8928785db5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2026.

Transparency log

Release files / swmm_toolkit-0.17.0-cp39-abi3-win_amd64.whl

Download URL swmm_toolkit-0.17.0-cp39-abi3-win_amd64.whl
Size 1.0 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
a8a5a3e5e282d8660fb268f41a87d0da5c3cbed8fae12545ca9fa89a4324187b
BLAKE2b-256 checksum
How to use checksums
59be48a70a62de1ebeb1c2c099290853ac141ca757c2207c9170b335561abd8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2026.

Transparency log

Release files / swmm_toolkit-0.17.0-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL swmm_toolkit-0.17.0-cp39-abi3-musllinux_1_2_x86_64.whl
Size 563.8 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
c7b81deebf0b65ba6021a6d362b8af14157ffb15781f7fd8ef4c6ca4911f8b80
BLAKE2b-256 checksum
How to use checksums
2f1a21817b7e1cd6ac3da0897cf1fed0034306569a81109bf40c924aac1eb1a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2026.

Transparency log

Release files / swmm_toolkit-0.17.0-cp39-abi3-musllinux_1_2_aarch64.whl

Download URL swmm_toolkit-0.17.0-cp39-abi3-musllinux_1_2_aarch64.whl
Size 541.3 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
34ca45714f790fc84e6884567cfd2af97c702dd5e6a1af6a9f3dd000210db6d2
BLAKE2b-256 checksum
How to use checksums
8682609a6aa0f442481f7d307f527b4822b4c46827c812901a2473c608c59b7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2026.

Transparency log

Release files / swmm_toolkit-0.17.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL swmm_toolkit-0.17.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 520.8 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
28737dd539d383a6d8ea2000fc372825b1e25bdaef076bd01fab816ebe62c06e
BLAKE2b-256 checksum
How to use checksums
0a0d4954077349d3957903ee6b20fe0d4846b44328e6a2a9ce2d077c2f7b8ee3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2026.

Transparency log

Release files / swmm_toolkit-0.17.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL swmm_toolkit-0.17.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 495.5 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
f0d5026a98f14db88a79cf790b74877b6822f71e7a548b6618b55ce4a1b0f23e
BLAKE2b-256 checksum
How to use checksums
f669f3f182590129a0d36507823c956981ec4dc55ad30bf1712aaf7f0a4579b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2026.

Transparency log

Release files / swmm_toolkit-0.17.0-cp39-abi3-macosx_11_0_x86_64.whl

Download URL swmm_toolkit-0.17.0-cp39-abi3-macosx_11_0_x86_64.whl
Size 682.1 kB
Tags CPython 3.9 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
587025031c81548cd914018663bb4259e000601eb4224b36675aee266fb56e50
BLAKE2b-256 checksum
How to use checksums
2434f0290172534bae205b9ac5a3f2f37f22c74d27b4db3fe3a8b0e262c0e781
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2026.

Transparency log

Release files / swmm_toolkit-0.17.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL swmm_toolkit-0.17.0-cp39-abi3-macosx_11_0_arm64.whl
Size 606.8 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0390d0afdfb7fb3296638c813dd549b290e0028e6812aac4acab59b442f88870
BLAKE2b-256 checksum
How to use checksums
a7d624c8da26e3db21d4515d833f15c3551019c257dcb96d248bcd6078207c2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.17.0 This release

8 release files

0.16.1

8 release files

0.11.0

6 release files

0.9.1

16 release files

0.8.1

7 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page