Skip to main content

fmu-settings-gui

ci

This frontend application is part of the FMU Settings applications: The CLI application starts the API server, which serves both the API and the built GUI. 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 frontend directory. This is the main application, containing the web frontend
  • The code for the Python package, located in the root and in the src directory. This builds and packages the static React files for fmu-settings-api

Python package

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.

The package does not start a web server. It provides fmu_settings_gui.get_static_directory(), which returns the packaged asset directory. The API uses this directory when fmu settings starts the complete application.

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
uv pip install -e ".[dev]"

These commands clone the repository and install the package along with its regular and development dependencies. During developemnt, it is often helpful to work to work with the latest main branches of related fmu-settings packages. This can be done with the following command :

uv pip install -r dev_requirements.txt

Note : This does not install the packages in editable mode.

Packages installed using the dev_requirements.txt.

  • fmu-settings-api
  • fmu-settings-cli
  • fmu-settings
  • fmu-datamodels
  • rms-sys

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fmu_settings_gui-1.1.0.tar.gz (732.3 kB view details)

Uploaded Source

Built Distribution

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

fmu_settings_gui-1.1.0-py3-none-any.whl (489.3 kB view details)

Uploaded Python 3

File details

Details for the file fmu_settings_gui-1.1.0.tar.gz.

File metadata

  • Download URL: fmu_settings_gui-1.1.0.tar.gz
  • Upload date:
  • Size: 732.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for fmu_settings_gui-1.1.0.tar.gz
Algorithm Hash digest
SHA256 99d7f5de9c84413c61b7e5e58ffb0bba995cfc2bc248fe390f148e29027a5acc
MD5 830ae04ed83e3b019d756023e8d72749
BLAKE2b-256 6bf08ba90a254c2da3d75e1378fe55c20759e924d506eea9325562692fef9d8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fmu_settings_gui-1.1.0.tar.gz:

Publisher: publish.yml on equinor/fmu-settings-gui

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

File details

Details for the file fmu_settings_gui-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fmu_settings_gui-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 726a56f57db0f321058d5a4020f544fa50c252e704f6142e65a0b9f11dea450c
MD5 6768e65970d2bab4c98331c1af5d939f
BLAKE2b-256 f6746bcb8b765514450184b532f6523ac660fc694a3b9c4c22b3d6255a80c290

See more details on using hashes here.

Provenance

The following attestation bundles were made for fmu_settings_gui-1.1.0-py3-none-any.whl:

Publisher: publish.yml on equinor/fmu-settings-gui

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

Release history Release notifications | RSS feed

1.1.2

2 files

1.1.1

2 files

This release

1.1.0 This release

2 files

1.0.0

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page