Skip to main content

A library for managing FMU settings

Project description

fmu-settings

ci docs

Documentation: https://equinor.github.io/fmu-settings/

Source code: https://github.com/equinor/fmu-settings/

fmu-settings is the Python core library for reading, writing, and managing resources in .fmu/ directories for FMU projects and user environments.

It owns the filesystem behavior around those resources: initialization, discovery, configuration models, resource managers, locking, cache handling, changelogs, restore behavior, and synchronization helpers.

FMU Settings Architecture

FMU Settings is split across a few repositories:

flowchart LR
    CLI["fmu-settings-cli"]
    API["fmu-settings-api"]
    GUI["fmu-settings-gui"]
    LIB["fmu-settings"]
    MODELS["fmu-datamodels"]

    CLI --> API
    CLI --> GUI
    CLI --> LIB
    GUI --> API
    API --> LIB
    LIB --> MODELS
    API --> MODELS
  • fmu-settings is the core library for reading, writing, and managing .fmu/ resources.
  • fmu-datamodels provides shared Pydantic domain models.
  • fmu-settings-api exposes fmu-settings through a FastAPI application layer.
  • fmu-settings-gui provides the browser-based user interface.
  • fmu-settings-cli provides the user-facing command line interface, including commands that bootstrap local user state and launch the API and GUI.

See ARCHITECTURE.md for the library architecture and a high-level ecosystem overview.

Documentation

The published documentation is the best starting point for users:

Documentation sources live under docs/src/.

Developing

Clone and install into a virtual environment.

git clone git@github.com:equinor/fmu-settings.git
cd fmu-settings
# 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 CONTRIBUTING.md for more.

[!NOTE]

Trademark Notice and Disclaimer

Aspen RMS™ is a registered trademark of Aspen Technology, Inc. (AspenTech). Use of RMS™ is governed by AspenTech's licensing terms and conditions. It is proprietary software and is neither open-source nor free. A valid license agreement with AspenTech is required for its use.

fmu-settings is an independent project developed by Equinor and is neither produced by nor affiliated with AspenTech.

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

fmu_settings-1.0.0.tar.gz (784.0 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-1.0.0-py3-none-any.whl (64.0 kB view details)

Uploaded Python 3

File details

Details for the file fmu_settings-1.0.0.tar.gz.

File metadata

  • Download URL: fmu_settings-1.0.0.tar.gz
  • Upload date:
  • Size: 784.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for fmu_settings-1.0.0.tar.gz
Algorithm Hash digest
SHA256 36c28b799dae639cc64ce2b896168ca7cb870384d32865a44c2248ae25dfb723
MD5 64b428ad38eef565a36b3d3d09c6914f
BLAKE2b-256 4548467e87b3d43ed01ed2171986bed0447aad615e4ffc3ab23e9002a14d7d76

See more details on using hashes here.

Provenance

The following attestation bundles were made for fmu_settings-1.0.0.tar.gz:

Publisher: publish.yml on equinor/fmu-settings

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-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: fmu_settings-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 64.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for fmu_settings-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 829657aeb63bbfd10a45227b827233096f8eeb89cfdede3cf982eb9b42717a31
MD5 5e6fd7c4d08194aaa9b640869072d22f
BLAKE2b-256 960080c5bbb439b258295914b36c58385c62c9acda9ca97e057c343be5af387e

See more details on using hashes here.

Provenance

The following attestation bundles were made for fmu_settings-1.0.0-py3-none-any.whl:

Publisher: publish.yml on equinor/fmu-settings

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