Skip to main content

Jobs and workflow jobs for Ert.

Project description

PyPI version Actions Status Code style: black License: GPL v3

semeio

Semeio is a collection of jobs and workflow jobs 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 jobs 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 model jobs 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 model jobs, and build the ERT documentation to get documentation for the workflows and forward model jobs.

Run tests

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

# Test
pip install tox
tox

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

# Test
pip install tox
tox -e py37

or to run it for a the current Python version:

# Test
pip install tox
tox -e py

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

# Test
pytest

this requires that the test dependencies from test_requirements.txt are installed.

# Install test requirements
pip install -r test_requirements.txt

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 -r test_requirements.txt
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.1.4.tar.gz (21.7 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.1.4-py3-none-any.whl (91.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: semeio-1.1.4.tar.gz
  • Upload date:
  • Size: 21.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.11

File hashes

Hashes for semeio-1.1.4.tar.gz
Algorithm Hash digest
SHA256 5c5ac0fa6e3b207d1d90ee267d0e551f53fd3f2b0bbdde4e0b45879922a92f76
MD5 e2b2b79eba82a7bb39ecd682764bcea0
BLAKE2b-256 566876c08b685528646a7781648bee57101a3aca1444d8354a70e3d45763a46b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: semeio-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 91.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.11

File hashes

Hashes for semeio-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 14af004f688718b61dd0d77b69051865e6c82f560b9c8d1328f6ad91680be2a0
MD5 a65de66a7e186c612a69eb1b5eb0fdbf
BLAKE2b-256 21c08ce638e18ad1c7d63f98316cfaff648ecfb3fa525371f6fc25ea886d0aa4

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