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.2.tar.gz (413.3 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.2-py3-none-any.whl (500.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyswap-0.3.2.tar.gz
  • Upload date:
  • Size: 413.3 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.2.tar.gz
Algorithm Hash digest
SHA256 1e94ced846a1e705a5344b070db6738a14fe208d71410ae93f8fae785bfab2fe
MD5 241e3ad5b33e9729eb2ab684b9338da2
BLAKE2b-256 06c271a2f60392cc887b15dfbc07ae674b39e9828012251981ce86586390ff8e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyswap-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 500.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 19c032207a93a8d56e981bf0956adf421728d73bd325f98685b364becb0e361f
MD5 000cf4fab9175f22a83e4a22f6d77350
BLAKE2b-256 94755a93ba90f99d525f2b15ba5cf356af9831906ad23ab0791d2c2acf71b3aa

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