Skip to main content

Forward models and workflows for Ert.

Project description

PyPI version PyPI - Python Version Actions Status License: GPL v3

semeio

Semeio is a collection of forward models and workflows used in ERT. These are exposing end points which is considered the API of semeio. If there are submodules that can be applied more generally, or have use outside these forward models and workflows, please create an issue and it can be exposed in the API.

Installation

Semeio is available on pypi and can be installed using pip install semeio.

# Install
pip install semeio

Usage

Once installed semeio will automatically register its workflows and forward models with ERT. Through the plugin hooks it will also add its own documentation to the ERT documentation. See the ERT documentation for examples on how to run workflows and forward models, and build the ERT documentation to get documentation for the workflows and forward models.

Developing

We use uv to have one synchronized development environment for all packages. See installing uv. We recommend installing uv using your system's package manager, or into a small dedicated virtual environment.

Once uv is installed, you can get a development environment by running:

git clone https://github.com/equinor/semeio
cd semeio
uv sync --all-extras

Run tests

To run the full test suite, do:

uv run pytest tests

pre-commit is used to comply with the formatting standards. The complete formatting tests can be run with:

uv run pre-commit run --all-files

Formatting use ruff, See .pre-commit-config.yaml for the complete steps.

pre-commit can also provide git hooks to run on every commit to avoid committing with formatting errors. This will only run on the diff so is quite fast. To configure this, run:

uv run pre-commit install

After this the hook will run on every commit.

If you would like to remove the hooks, run:

uv run pre-commit uninstall

Project details


Release history Release notifications | RSS feed

This version

3.2.3

Download files

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

Source Distribution

semeio-3.2.3.tar.gz (19.4 MB view details)

Uploaded Source

Built Distribution

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

semeio-3.2.3-py3-none-any.whl (286.1 kB view details)

Uploaded Python 3

File details

Details for the file semeio-3.2.3.tar.gz.

File metadata

  • Download URL: semeio-3.2.3.tar.gz
  • Upload date:
  • Size: 19.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for semeio-3.2.3.tar.gz
Algorithm Hash digest
SHA256 41be52b4aa8dc43fa25444f90053fe1f18ac04c1091dd9d4534603121f1fd43c
MD5 301eb8bda4c4a4e6fa90ed8de5136273
BLAKE2b-256 64b67cb07d6fd7a188197d8a78f8103a1e0009603b71373c7b5885d3e888a67d

See more details on using hashes here.

File details

Details for the file semeio-3.2.3-py3-none-any.whl.

File metadata

  • Download URL: semeio-3.2.3-py3-none-any.whl
  • Upload date:
  • Size: 286.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for semeio-3.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d0cedc2dbad7376e9d12a990cf058b63ec3fb623722953067096f3a3a6881c24
MD5 4892994f5cd45ce47a42f3fe2cfdc0bb
BLAKE2b-256 3041e31ae2da2b08283731e8873bda54207e50a79d5c2b3e69d58220d854ddeb

See more details on using hashes here.

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