Skip to main content

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

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

r2h2-1.2.26.tar.gz (193.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

r2h2-1.2.26-py3-none-any.whl (235.8 kB view details)

Uploaded Python 3

File details

Details for the file r2h2-1.2.26.tar.gz.

File metadata

  • Download URL: r2h2-1.2.26.tar.gz
  • Upload date:
  • Size: 193.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for r2h2-1.2.26.tar.gz
Algorithm Hash digest
SHA256 5c2ece72bcb39413c6746240aae0648be50ab5d3aab8cb5891bb4a10d401d668
MD5 ddb003eefaed535b5f4b81d3f3f5dfe0
BLAKE2b-256 1817d6c33e10205bb85150e3b8827ade516d4b7bb0334f8f06a47c8fb4581b78

See more details on using hashes here.

Provenance

The following attestation bundles were made for r2h2-1.2.26.tar.gz:

Publisher: publish.yaml on RenewableTools/R2H2_app

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file r2h2-1.2.26-py3-none-any.whl.

File metadata

  • Download URL: r2h2-1.2.26-py3-none-any.whl
  • Upload date:
  • Size: 235.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for r2h2-1.2.26-py3-none-any.whl
Algorithm Hash digest
SHA256 35dd0f8984e99e8e4a38f5e58217e73211f01fac8c9bc2d28431015d47181087
MD5 a2b68e601ed0476fe4acdb33c4f4c400
BLAKE2b-256 83f02497fbfb4ef50fd469817dbe6b538d61862ad8af3f4bb723b401f8ca93da

See more details on using hashes here.

Provenance

The following attestation bundles were made for r2h2-1.2.26-py3-none-any.whl:

Publisher: publish.yaml on RenewableTools/R2H2_app

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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