Skip to main content

Python wrapper for SWAP hydrological model.

Project description

pySWAP - Python wraper for SWAP hydrological model

Tests codecov pypi

downloads versions

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.

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

pyswap-0.3.1.tar.gz (86.7 kB view details)

Uploaded Source

Built Distribution

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

pyswap-0.3.1-py3-none-any.whl (97.0 kB view details)

Uploaded Python 3

File details

Details for the file pyswap-0.3.1.tar.gz.

File metadata

  • Download URL: pyswap-0.3.1.tar.gz
  • Upload date:
  • Size: 86.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for pyswap-0.3.1.tar.gz
Algorithm Hash digest
SHA256 07794d1ba59cfd50c6109410df61c5aa0eb4683cb282ce5c085c1f64eb90b4d3
MD5 c925581b9441a327078e70fc49cc9ac1
BLAKE2b-256 8c6b8fcfb4a00466ea21bed80d675429b840376a0193a13d7e873494c543c70b

See more details on using hashes here.

File details

Details for the file pyswap-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: pyswap-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 97.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for pyswap-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d4ee1791543c19f1dcfb95e65ea3d1569d60b43568795fe8fb32e84d242f2a3
MD5 75177c2d4845f7675d1cd6be75361884
BLAKE2b-256 e233f88e83989e34c6935a65426b684f8e7bee24ec322bd1e288af0f2dd7407b

See more details on using hashes here.

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