The GUI for fmu-settings
Project description
fmu-settings-gui
This frontend application is part of the FMU Settings applications: The CLI application
is used for starting the API server as well as the GUI (frontend) server, while the API
application is the one used by the frontend. There is also an fmu-settings package
which contains the business logic and models and which is used by the API. Finally, the
fmu-datamodels package contains some additional models used by FMU Settings.
There are two parts to this repo:
- The code for the React application, located in the
frontenddirectory. This is the main application, containing the web frontend - The code for the Python application, located in the root and in the
srcdirectory. This serves the built and deployed React application
Python application
Doing a local pip install will attempt to build the React application behind the scenes. This requires a few dependencies (Node, pnpm, ..) that are not installable via pip. View the frontend README for instructions.
Be sure to include a verbose flag or two (pip install . -vv) if you need to
observe the frontend installation output.
Developing
When developing features in the React application, there are corresponding changes in the other FMU Settings packages that the frontend application needs. It is therefore important to make sure that the other packages are used in their newest versions. Installing these packages from the package repository PyPI might not provide the newest versions, so installations should be done as editable installs. Python will then import functions from the cloned code repos.
A Python virtual environment (venv) should first be created:
python -m venv ~/venv/fmu-settings
source ~/venv/fmu-settings/bin/activate
Then, an editable install of a package can be done, with the following steps:
git clone git@github.com:equinor/fmu-settings-cli.git
cd fmu-settings-cli
pip install -e ".[dev]"
These commands clone the code repo and perform an install of the package, including any regular and development dependencies. An FMU Settings dependency will initially be installed in regular mode, so each of these packages need to be cloned and installed as editable in separate steps. The above commands need to be repeated for the rest of the packages:
fmu-settings-apifmu-settings-guifmu-settingsfmu-datamodels
Tests for the Python applications are run with the following command:
pytest -n auto tests
Ensure your changes will pass the various linters before making a pull request. It is expected that all code will be typed and validated with mypy.
ruff check
ruff format --check
mypy src tests
See the contributing document for more.
React application
See the application's README file for information.
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 fmu_settings_gui-0.3.0.tar.gz.
File metadata
- Download URL: fmu_settings_gui-0.3.0.tar.gz
- Upload date:
- Size: 657.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4592e42db897b2985cf656a4e56d308fc6354ed05ee0c4cfb2dbdfa7fef7243
|
|
| MD5 |
b92ff02f452c474a646ebcbe9e0e76d8
|
|
| BLAKE2b-256 |
156202da6b8b82f27498596de81c565e661d1a1aa1552aa120efee6aa5de0345
|
Provenance
The following attestation bundles were made for fmu_settings_gui-0.3.0.tar.gz:
Publisher:
publish.yml on equinor/fmu-settings-gui
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fmu_settings_gui-0.3.0.tar.gz -
Subject digest:
e4592e42db897b2985cf656a4e56d308fc6354ed05ee0c4cfb2dbdfa7fef7243 - Sigstore transparency entry: 666065374
- Sigstore integration time:
-
Permalink:
equinor/fmu-settings-gui@a7dfb4c73ba4b4a0d5ce11ad7dd41abf0049fd7d -
Branch / Tag:
refs/tags/0.3.0 - Owner: https://github.com/equinor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a7dfb4c73ba4b4a0d5ce11ad7dd41abf0049fd7d -
Trigger Event:
release
-
Statement type:
File details
Details for the file fmu_settings_gui-0.3.0-py3-none-any.whl.
File metadata
- Download URL: fmu_settings_gui-0.3.0-py3-none-any.whl
- Upload date:
- Size: 465.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
217ca0c2f537b561adb3b9bf94eb2612ecc5de8fd94b4ccb4d7f963249757652
|
|
| MD5 |
4dcb2f370327cd730af929b176a9329c
|
|
| BLAKE2b-256 |
c7783da6d6f145107b33f72a9277eb0676796e96532a7279ef181f9f088cfc31
|
Provenance
The following attestation bundles were made for fmu_settings_gui-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on equinor/fmu-settings-gui
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fmu_settings_gui-0.3.0-py3-none-any.whl -
Subject digest:
217ca0c2f537b561adb3b9bf94eb2612ecc5de8fd94b4ccb4d7f963249757652 - Sigstore transparency entry: 666065402
- Sigstore integration time:
-
Permalink:
equinor/fmu-settings-gui@a7dfb4c73ba4b4a0d5ce11ad7dd41abf0049fd7d -
Branch / Tag:
refs/tags/0.3.0 - Owner: https://github.com/equinor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a7dfb4c73ba4b4a0d5ce11ad7dd41abf0049fd7d -
Trigger Event:
release
-
Statement type: