Repository containing plugins to further enhance your pastas experience.
Project description
pastas-plugins
Welcome to the pastas-plugins repository, your one-stop-shop for customized cutting-edge additions to Pastas.
Current plugins
The following plugins are now available:
cross_correlation
: analyze and visualize the cross-correlation between two time series.modflow
: use modflow models as response functions.reservoirs
: use reservoir models to simulate time series.responses
: custom response functions for Pastas.
Installation
Install pastas-plugins
with:
pip install pastas_plugins
If you want to use a specific plugin and want to ensure you install all the requisite dependencies, you can use the following command:
pip install pastas-plugins[<name of plugin>]
If you want to install them all:
pip install pastas-plugins[all]
Usage
Import the pastas-plugins module with:
import pastas_plugins as pp
This gives you access to the following functions:
pp.list_plugins() # list of all plugins
pp.show_plugin_versions() # show plugin versions
The function pp.show_plugin_versions()
will indicate if any dependencies are missing
for a particular plugin. See the Installation section above for tips
on how to install dependencies for a particular plugin.
To use a particular plugin, you'll have to import it explicitly, e.g.:
from pastas_plugins import responses
rfunc = responses.Theis()
Separate plugins are each stored in a separate submodule within the pastas-plugins package. You do not need to install the dependencies for each plugin if you're only interested in one particular plugin.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pastas_plugins-0.2.0.tar.gz
.
File metadata
- Download URL: pastas_plugins-0.2.0.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d87e47af9d3caea4aaf286f0f9244c52342a0cbc233b7e5d139df7624d161c1f |
|
MD5 | 3471a2455f49979e491c73ee9a95d91d |
|
BLAKE2b-256 | e37a115716938e08bd24ecc5942777ec125809af173d601acedb5c3aba6041d1 |
File details
Details for the file pastas_plugins-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: pastas_plugins-0.2.0-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 613d84bf4d15297b29e0c04f04d9099c72703d1e433d757d35677f47534a5856 |
|
MD5 | 0618fbdae3159084601662e2202c3cd1 |
|
BLAKE2b-256 | 82f965c7a1718183f1128e458886a1d247befba6cc0a6cbfa85a822d5907b71d |