The Desktop App for R2H2.
Project description
R2H2
R2H2 is a desktop simulation tool for renewable hydrogen systems.
Install
Requires Python 3.11+. The recommended install method is pipx, which isolates the app in its own environment and puts the r2h2 command on your PATH automatically.
As a prerequisite, you'll need pip and pipx installed. To make sure you can get started, paste the following into a terminal:
pip install pipx
pipx ensurepath
If your using a new system that doesn't currently have access to Git or PIP, you may need to install these first. For Ubuntu, these instructions are as follow:
sudo apt install git
sudo apt install pip
1 — Install as a general user (pipx)
pipx install git+https://github.com/RenewableTools/R2H2_app.git
Open a new terminal, then run:
r2h2
To update to the latest version at any time:
pipx upgrade r2h2
2 — Install for development (editable)
git clone https://github.com/RenewableTools/R2H2_app.git
cd R2H2_app
pipx install -e .
After editing source files the running app picks up changes immediately — no reinstall needed. Use pipx upgrade r2h2 (pointing at the local path) or simply re-run pipx install -e . after pulling updates.
Getting started
On first launch R2H2 will ask you to choose a local folder for your application data (database, wind files, outputs). The folder will be created if it does not exist. This path is stored in config.yaml and you will not be prompted again.
r2h2 # starts the local server and opens the app in your browser
Use Ctrl+C in the terminal to stop the server.
Notes
- Application data (database, outputs) lives in the folder you chose at first launch — not inside the source code directory.
- The database schema is defined entirely by
dashboard/models.py; use Django migrations (python manage.py makemigrations && python manage.py migrate) if you change it. - A useful tool for inspecting the SQLite database: https://sqlitebrowser.org
Documentation
- Dynamic controller guide: docs/dynamic_controller_user_guide.md
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file r2h2-1.2.22.tar.gz.
File metadata
- Download URL: r2h2-1.2.22.tar.gz
- Upload date:
- Size: 190.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31793c9010c6579da7f095038875ebfc4026ce5880897ce6e9b87dcace96a1e4
|
|
| MD5 |
1a35ddf2d4bebfd0dbc75c3c300d642e
|
|
| BLAKE2b-256 |
83dd3550bb2518e59fd273cdeb276cf1954dd95da5f2efbdfdc47d9dada27e3b
|
Provenance
The following attestation bundles were made for r2h2-1.2.22.tar.gz:
Publisher:
publish.yaml on RenewableTools/R2H2_app
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
r2h2-1.2.22.tar.gz -
Subject digest:
31793c9010c6579da7f095038875ebfc4026ce5880897ce6e9b87dcace96a1e4 - Sigstore transparency entry: 1904625084
- Sigstore integration time:
-
Permalink:
RenewableTools/R2H2_app@33972f4a1f7e3ec5da28e2f459dae766ad8e0807 -
Branch / Tag:
refs/tags/v1.2.22 - Owner: https://github.com/RenewableTools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@33972f4a1f7e3ec5da28e2f459dae766ad8e0807 -
Trigger Event:
release
-
Statement type:
File details
Details for the file r2h2-1.2.22-py3-none-any.whl.
File metadata
- Download URL: r2h2-1.2.22-py3-none-any.whl
- Upload date:
- Size: 232.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
854a3dd9d39d8aee25d3c52b905dfbf0a8e24d271506d3df8afa200ef04002f5
|
|
| MD5 |
103542c122a52d65f59558d0b1332a5e
|
|
| BLAKE2b-256 |
4acbf6682f365729305acfcbe65987005f2e4f22c583c63598c54e8ea7fe7111
|
Provenance
The following attestation bundles were made for r2h2-1.2.22-py3-none-any.whl:
Publisher:
publish.yaml on RenewableTools/R2H2_app
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
r2h2-1.2.22-py3-none-any.whl -
Subject digest:
854a3dd9d39d8aee25d3c52b905dfbf0a8e24d271506d3df8afa200ef04002f5 - Sigstore transparency entry: 1904625270
- Sigstore integration time:
-
Permalink:
RenewableTools/R2H2_app@33972f4a1f7e3ec5da28e2f459dae766ad8e0807 -
Branch / Tag:
refs/tags/v1.2.22 - Owner: https://github.com/RenewableTools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@33972f4a1f7e3ec5da28e2f459dae766ad8e0807 -
Trigger Event:
release
-
Statement type: