Skip to main content

A Python port of Generalized Watersheds Loading Functions - Enhanced (MapShed)

Project description

gwlf-e

Port of Generalized Watersheds Loading Functions - Enhanced (MapShed)

Installation

Install using pip:

$ pip install gwlf-e

For Linux x64 on Python 3.8, 3.9, and 3.10 the above will pull a published wheel. For other platforms, a wheel would have to be built. In that case, you may also need to install setuptools, wheel, and build to compile it locally:

$ pip install wheel build
$ pip install --no-build-isolation gwlf-e

Development

Ensure you have Python 3.10 and pipenv available. Then run:

$ pipenv sync

Running Locally

$ pipenv run ./run.py --json test/integrationtests/input_4_output.json test/integrationtests/input_4.gms

Testing

$ pipenv run nosetests

Deployments

Create a new release using git flow:

$ git flow release start 3.0.0
$ vim CHANGELOG.md
$ vim setup.py
$ git add CHANGELOG.md setup.py
$ git commit -m "3.0.0"
$ git flow release finish -p 3.0.0

When the tag is pushed up, GitHub Actions will publish a release to PyPI.

License

This project is licensed under the terms of the Apache 2.0 license.

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

gwlf_e-3.2.0.tar.gz (1.3 MB view hashes)

Uploaded Source

Built Distributions

gwlf_e-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

gwlf_e-3.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

gwlf_e-3.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

Supported by

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