RavenPy 
Versions |
|
Documentation and Support |
|
Open Source |
|
Coding Standards |
|
Development Status |
A Python wrapper for configuring and running the hydrologic modelling framework Raven.
Free software: MIT license
Documentation: https://ravenpy.readthedocs.io
RavenPy is a Python wrapper for Raven, accompanied by utility functions that facilitate model configuration, calibration, and evaluation.
Raven is an hydrological modeling framework that lets hydrologists build hydrological models by combining different hydrological processes together. It can also be used to emulate a variety of existing lumped and distributed models. Model structure, parameters, initial conditions and forcing files are configured in text files, which Raven parses to build and run hydrological simulations. A detailed description about modeling capability of Raven can be found in the docs.
RavenPy provides a Python interface to Raven, automating the creation of configuration files and allowing the model to be launched from Python. Results, or errors, are automatically parsed and exposed within the programming environment. This facilitates the launch of parallel simulations, multi-model prediction ensembles, sensitivity analyses and other experiments involving a large number of model runs.
Note that version 0.12 includes major changes compared to the previous 0.11 release, and breaks backward compatibility. The benefits of these changes are a much more intuitive interface for configuring and running the model.
Features
Configure, run and parse Raven outputs from Python
Utility command to create grid weight files
Extract physiographic information about watersheds
Algorithms to estimate model parameters from ungauged watersheds
Exposes outputs (flow, storage) as xarray.DataArray objects
Install
Please see the detailed installation docs.
Acknowledgements
RavenPy’s development has been funded by CANARIE and Ouranos and would be not be possible without the help of Juliane Mai and James Craig.
This package was created with Cookiecutter and the Ouranosinc/cookiecutter-pypackage project template.
Metadata
Release files for ravenpy 0.21.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ravenpy-0.21.0.tar.gz | 8.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ravenpy-0.21.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.7 MB
Release files / ravenpy-0.21.0.tar.gz
| Download URL | ravenpy-0.21.0.tar.gz |
|---|---|
| Size | 8.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3677b102311b6371d76de09d262a2a3843d2760c5b89ee3650fbbc9c30f4d1b
|
|
BLAKE2b-256 checksum How to use checksums |
2ce7f566c08a24229b52a6110d4820ea767879d22a76c710ebca2b7084f223bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 17, 2026.
Transparency logRelease files / ravenpy-0.21.0-py3-none-any.whl
| Download URL | ravenpy-0.21.0-py3-none-any.whl |
|---|---|
| Size | 6.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a87513ca37b396fc2db2e04d960ebe570df9fbf94dbfee6a88491f49723209b
|
|
BLAKE2b-256 checksum How to use checksums |
6ee485dbfd060d760d21f2bb8fb0d4af5d13681bb80810ebe74c7eabcad78a51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 17, 2026.
Transparency log