Skip to main content

fmu-settings-cli

ci

fmu-settings-cli is the CLI package for fmu-settings.

Usage

To launch the application simply run

fmu settings

The command starts one server for both the API and the built GUI on port 8000, and opens the FMU Settings home page in your web browser.

GUI development

To develop the GUI, start only the API. You can also use --reload if you change API code.

fmu settings api

By default the API will set CORS rules restricting requests to a default host and port (localhost:8000). In development with a GUI it's likely your frontend port will be something different. You can specify this like so:

fmu settings api --gui-port 5173

This will update the CORS rules in the API to accept requests from localhost:5173.

The API authorizes all requests with a randomly generated token. When starting the API for use in development this token can be printed by setting the FMU_SETTINGS_PRINT_TOKEN environment variable or providing the --print-token flag.

fmu settings api --gui-port 5173 --print-token
# or
export FMU_SETTINGS_PRINT_TOKEN=true
# or
FMU_SETTINGS_PRINT_TOKEN=true fmu-settings api --gui-port 5173

It's also possible to print the full URL a user would be directed to with a similar URL flag and environment variable.

fmu settings api --gui-port 5173 --print-url
# or
export FMU_SETTINGS_PRINT_URL=true
# or
FMU_SETTINGS_PRINT_URL=true fmu-settings api --gui-port 5173

Note that these additional flags are intended for development so they only work with fmu settings api subcommand.

CLI development

Clone and install into a virtual environment.

git clone git@github.com:equinor/fmu-settings-cli.git
cd fmu-settings-cli
# Create or source virtual/Komodo env
pip install -U pip
pip install -e ".[dev]"
# Make a feature branch for your changes
git checkout -b some-feature-branch

Run the tests with

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.

Metadata

Release files for fmu-settings-cli 1.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fmu-settings-cli 1.4.1
File Size Uploaded Provenance Actions
fmu_settings_cli-1.4.1.tar.gz 190.3 kB With provenance Details for fmu_settings_cli-1.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fmu-settings-cli 1.4.1
File Interpreter ABI Platform Actions
fmu_settings_cli-1.4.1-py3-none-any.whl Python 3 none any Details for fmu_settings_cli-1.4.1-py3-none-any.whl

Total release size: 229.5 kB

Release files / fmu_settings_cli-1.4.1.tar.gz

Download URL fmu_settings_cli-1.4.1.tar.gz
Size 190.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5bba458dce8ad0c2ceb1a2c768ee442342e487a20d07c3b667b6bcb4c3a8a14b
BLAKE2b-256 checksum
How to use checksums
c0e4be8ee94e26a8d6661f11f1a56a563cd44384a5c36e78d9d4fef6685abec1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / fmu_settings_cli-1.4.1-py3-none-any.whl

Download URL fmu_settings_cli-1.4.1-py3-none-any.whl
Size 39.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e354c9197ec4cce0e219968d8d7493e458d53081d88ba7ce814d0e1f7497a332
BLAKE2b-256 checksum
How to use checksums
88414ecab93be9fececb1107da9629a8e97da4a2ec4aa23a0908a4e66b75bf11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Security for fmu-settings-cli 1.4.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for fmu_settings_cli-1.4.1.tar.gz

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 Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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