Skip to main content

PySWMM SWMM Python Toolkit

Project description

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

Project details


Download files

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

Source Distribution

swmm_toolkit-0.17.0.tar.gz (592.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

swmm_toolkit-0.17.0-cp39-abi3-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.9+Windows x86-64

swmm_toolkit-0.17.0-cp39-abi3-musllinux_1_2_x86_64.whl (563.8 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ x86-64

swmm_toolkit-0.17.0-cp39-abi3-musllinux_1_2_aarch64.whl (541.3 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

swmm_toolkit-0.17.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (520.8 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

swmm_toolkit-0.17.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (495.5 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

swmm_toolkit-0.17.0-cp39-abi3-macosx_11_0_x86_64.whl (682.1 kB view details)

Uploaded CPython 3.9+macOS 11.0+ x86-64

swmm_toolkit-0.17.0-cp39-abi3-macosx_11_0_arm64.whl (606.8 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file swmm_toolkit-0.17.0.tar.gz.

File metadata

  • Download URL: swmm_toolkit-0.17.0.tar.gz
  • Upload date:
  • Size: 592.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for swmm_toolkit-0.17.0.tar.gz
Algorithm Hash digest
SHA256 83e8e9dccbac785aa4868643cdfc3972ff7ffe06f04fdfa6f603b82f5c643e72
MD5 bb03df602309a6f62b716b01a7e49ce8
BLAKE2b-256 066fe059e9e7d3a7107cbd1dc5f897b0b29ae32b63b7a2287ad87d8928785db5

See more details on using hashes here.

Provenance

The following attestation bundles were made for swmm_toolkit-0.17.0.tar.gz:

Publisher: build_wheel.yml on pyswmm/swmm-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swmm_toolkit-0.17.0-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for swmm_toolkit-0.17.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a8a5a3e5e282d8660fb268f41a87d0da5c3cbed8fae12545ca9fa89a4324187b
MD5 23d75ae014e0a0b1f986b51ef66bf504
BLAKE2b-256 59be48a70a62de1ebeb1c2c099290853ac141ca757c2207c9170b335561abd8a

See more details on using hashes here.

Provenance

The following attestation bundles were made for swmm_toolkit-0.17.0-cp39-abi3-win_amd64.whl:

Publisher: build_wheel.yml on pyswmm/swmm-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swmm_toolkit-0.17.0-cp39-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for swmm_toolkit-0.17.0-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c7b81deebf0b65ba6021a6d362b8af14157ffb15781f7fd8ef4c6ca4911f8b80
MD5 5e6e49e0c2e15630dcd3d76785b88c16
BLAKE2b-256 2f1a21817b7e1cd6ac3da0897cf1fed0034306569a81109bf40c924aac1eb1a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for swmm_toolkit-0.17.0-cp39-abi3-musllinux_1_2_x86_64.whl:

Publisher: build_wheel.yml on pyswmm/swmm-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swmm_toolkit-0.17.0-cp39-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for swmm_toolkit-0.17.0-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 34ca45714f790fc84e6884567cfd2af97c702dd5e6a1af6a9f3dd000210db6d2
MD5 c59295b551cde8f1db4166ab583e0496
BLAKE2b-256 8682609a6aa0f442481f7d307f527b4822b4c46827c812901a2473c608c59b7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for swmm_toolkit-0.17.0-cp39-abi3-musllinux_1_2_aarch64.whl:

Publisher: build_wheel.yml on pyswmm/swmm-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swmm_toolkit-0.17.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for swmm_toolkit-0.17.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 28737dd539d383a6d8ea2000fc372825b1e25bdaef076bd01fab816ebe62c06e
MD5 4f43bfc1bf51cb316e64438fa511d661
BLAKE2b-256 0a0d4954077349d3957903ee6b20fe0d4846b44328e6a2a9ce2d077c2f7b8ee3

See more details on using hashes here.

Provenance

The following attestation bundles were made for swmm_toolkit-0.17.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_wheel.yml on pyswmm/swmm-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swmm_toolkit-0.17.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for swmm_toolkit-0.17.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f0d5026a98f14db88a79cf790b74877b6822f71e7a548b6618b55ce4a1b0f23e
MD5 80aaa61c45db77266761f51e65381675
BLAKE2b-256 f669f3f182590129a0d36507823c956981ec4dc55ad30bf1712aaf7f0a4579b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for swmm_toolkit-0.17.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build_wheel.yml on pyswmm/swmm-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swmm_toolkit-0.17.0-cp39-abi3-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for swmm_toolkit-0.17.0-cp39-abi3-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 587025031c81548cd914018663bb4259e000601eb4224b36675aee266fb56e50
MD5 6f354ad7938b4056af7ff8b705657816
BLAKE2b-256 2434f0290172534bae205b9ac5a3f2f37f22c74d27b4db3fe3a8b0e262c0e781

See more details on using hashes here.

Provenance

The following attestation bundles were made for swmm_toolkit-0.17.0-cp39-abi3-macosx_11_0_x86_64.whl:

Publisher: build_wheel.yml on pyswmm/swmm-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swmm_toolkit-0.17.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for swmm_toolkit-0.17.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0390d0afdfb7fb3296638c813dd549b290e0028e6812aac4acab59b442f88870
MD5 e788c809725a4bf793d612deb18f890e
BLAKE2b-256 a7d624c8da26e3db21d4515d833f15c3551019c257dcb96d248bcd6078207c2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for swmm_toolkit-0.17.0-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: build_wheel.yml on pyswmm/swmm-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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