Skip to main content

Forward models and workflows for Ert.

Project description

PyPI version PyPI - Python Version Actions Status Code style: black 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 and usage

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.

Run tests

tox is used as the test facilitator, to run the full test suite:

pip install tox
tox

or to run it for a particular Python version (in this case Python 3.10):

pip install tox
tox -e py310

or to run it for a the current Python version:

pip install tox
tox -e py

pytest is used as the test runner, so for quicker iteration it is possible to run:

pytest

this requires that test-dependencies are installed:

# Install test requirements
pip install "semeio[test]"

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

pip install tox
tox -e style

Formatting tests include black, flake8 and pylint, See .pre-commit-config.yaml for the complete steps.

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

pip install "semeio[test]"
pip install pre-commit
pre-commit install

After this the hook will run on every commit.

If you would like to remove the hooks, run:

pre-commit uninstall

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

semeio-1.11.1.tar.gz (17.3 MB view details)

Uploaded Source

Built Distribution

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

semeio-1.11.1-py3-none-any.whl (90.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: semeio-1.11.1.tar.gz
  • Upload date:
  • Size: 17.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.18

File hashes

Hashes for semeio-1.11.1.tar.gz
Algorithm Hash digest
SHA256 c9ed33ab6d643c1b3cf16ab20db30e540e457d94811ae19bf58b40006b6f9c84
MD5 1db1def958f11ef9554226d725c1ea21
BLAKE2b-256 48cb0f8b507a742ea795b259d9075f89b69e3bd0232e985ab27b29e51235814d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: semeio-1.11.1-py3-none-any.whl
  • Upload date:
  • Size: 90.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.18

File hashes

Hashes for semeio-1.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2409d9885071077cba592d0506339ede2e303a1f79948a217a7e52647ecec27b
MD5 8f2621c1b5930e0eb6f1e297018b5dc4
BLAKE2b-256 cd98ff550e1dde1f88d5d3bfc113d0ddef91a495dec3162d12a7a6ccc5418f57

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