Skip to main content

pySWAP - Python wraper for SWAP hydrological model

CD CI Docs codecov pypi downloads Binder DOI

pySWAP is a Python wrapper (not Python implementation) for the SWAP hydrological model (link to the model website). It simplifies the creation of input files, execution of the SWAP model, and analysis and visualization of results. Users can set up and document their models in Jupyter notebooks, enhancing transparency, collaboration, and facilitating community-supported debugging.

Contributing

pySWAP is in the early stages of development so any contributions are highly encouraged. You can open issues, submit pull requests, or initiate discussions on GitHub. For more details on how you can contribute, visit the CONTRIBUTE section and get involved!

Help

Consult pySWAP documentation page for detailed instructions.

Installation

The easiest way to install the package is through pip:

pip install pyswap

You can also clone the repository from github:

git clone --recurse-submodules https://github.com/zawadzkim/pySWAP.git

Notice, that there is the recurse-submodules flag that makes sure additional libraries are also cloned.

Docker

For consistent execution across different systems, you can use Docker:

docker build -t pyswap .
docker run -it --rm -v "$PWD":/workspace pyswap
python your-script.py

For detailed Docker instructions, see the Docker documentation.

Metadata

Release files for pyswap 0.3.9

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

Source distribution (sdist)

Source distribution for pyswap 0.3.9
File Size Uploaded
pyswap-0.3.9.tar.gz 415.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyswap 0.3.9
File Interpreter ABI Platform
pyswap-0.3.9-py3-none-any.whl Python 3 none any Details

Total release size: 918.1 kB

Release files / pyswap-0.3.9.tar.gz

Download URL pyswap-0.3.9.tar.gz
Size 415.9 kB
Tags Source
SHA-256 checksum
How to use checksums
671b8c26959b0f1d114654540cd89c20e747e223694d5c25d0264dff72f97a61
BLAKE2b-256 checksum
How to use checksums
79c43d99ffe762f3d64c1bc93144abc222e9dbf6801d0f6f6061cec342919f80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / pyswap-0.3.9-py3-none-any.whl

Download URL pyswap-0.3.9-py3-none-any.whl
Size 502.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d9f339381ea64e8d7a1979e0f9ca008109471b3a64cdb04db1f596460c12440
BLAKE2b-256 checksum
How to use checksums
90284801739f4d16e0dbef42a05be267eb73c13dc59d603033d295efb866b070
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

0.3.9 This release

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 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