Skip to main content

opm-common: Python bindings and embedded Python

This folder contains the Python bindings for the OPM-common module and code required for using embedded Python with OPM.

  • For the Python bindings, see also the Python bindings of opm-simulators.

  • For the Python bindings and embedded Python code, see the documentation.

  • To enable tooltips for embedded Python code (opm_embedded) for the editor VS Code, first make sure the stub file in <opm-common-folder>/python/opm_embedded/__init__.pyi is updated! You can recreate this stub file by executing

     stubgen -m opmcommon_python -o . && cat opmcommon_python.pyi | sed "s/class Builtin:/current_ecl_state: EclipseState\ncurrent_report_step: int\ncurrent_schedule: Schedule\ncurrent_summary_state: SummaryState\n\nclass Builtin:/" > NAME-OF-OUTPUT-FILE.pyi
    

    in <opm-common-build-folder>/python/opm. To execute stubgen, "mypy" is needed; this can be installed with "pip install mypy".

    The above stubgen command will create the stub file opmcommon_python.pyi. The cat command will copy the stub file opmcommon_python.pyi to "NAME-OF-OUTPUT-FILE.pyi" and add the lines

     current_ecl_state: EclipseState
     current_report_step: int
     current_schedule: Schedule
     current_summary_state: SummaryState
    

    Then:

    • Either: Build the module opm-common and install it with "make install" - this will copy the file <opm-common-folder>/python/opm_embedded/__init__.pyi to the location where opm_embedded is installed, making it visible to VSCode.
    • Or: Copy the file <opm-common-folder>/python/opm_embedded/__init__.pyi into the folder defined in variable python.analysis.stubPath of VS Code and rename it to opm_embedded.pyi.
  • So: When updating any classes or documentation here, please also update the stub file located in <opm-common-folder>/python/opm_embedded/__init__.pyi!

  • The keyword properties of Builtin in the stub follow the keyword list and need no stubgen run: after adding or removing a keyword, run ./bin/genPythonStubKeywords.py in <opm-common-folder>. Jenkins runs it before building and fails if it changes the stub.

Metadata

Release files for opm 2026.10

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

Built distributions (wheels)

Table of built distributions (wheels) for opm 2026.10
File Actions
opm-2026.10-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for opm-2026.10-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
opm-2026.10-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for opm-2026.10-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
opm-2026.10-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for opm-2026.10-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
opm-2026.10-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for opm-2026.10-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
opm-2026.10-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for opm-2026.10-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
opm-2026.10-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for opm-2026.10-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
opm-2026.10-cp38-cp38-manylinux_2_28_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.28+ x86-64 Details for opm-2026.10-cp38-cp38-manylinux_2_28_x86_64.whl

Total release size: 32.7 MB

Release files / opm-2026.10-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL opm-2026.10-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.7 MB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9c30648c6dc92616279e188e55517625201b51ddbf213350be77981584e8a17e
BLAKE2b-256 checksum
How to use checksums
636fa35aa1a9836cbe117470b39dc987ff4c7cdc56702f5dfc2afbbe763f09ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / opm-2026.10-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL opm-2026.10-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.7 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
89f3e550abb4834b4c7bb556ab0a080b7a7e752b1babae182d0ac20b015e85c3
BLAKE2b-256 checksum
How to use checksums
da40fba383ef372dad95829e0d92e1a9e48b891032b8a65c50ef1b8cd4fdfa7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / opm-2026.10-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL opm-2026.10-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.7 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
109d8d55312517a9635fcdaccbe8cacbe343b8284a9d8a711cea8b48111e8c3c
BLAKE2b-256 checksum
How to use checksums
04cccccb8e339fcc3225e2262e689f32005fde9477039a3f6cd6edc7f5164548
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / opm-2026.10-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL opm-2026.10-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.7 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8d5f1fd0d7921e1adf434441a888f202a83f7b207ad14c8a6cbda4a957d75199
BLAKE2b-256 checksum
How to use checksums
10b79c14b821942d3c520b6adfcf36e714b31b4b8f846be1310555a7f300ae17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / opm-2026.10-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL opm-2026.10-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.7 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
145183d1fa56cc1c5a6618b38a31eb43979280a2e496585cca66890a5bba7079
BLAKE2b-256 checksum
How to use checksums
f0ac31c784535c41902b9c83f5a8cd10a073bdfcf93ed0dbac1ce1f6e46dc65f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / opm-2026.10-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL opm-2026.10-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.7 MB
Tags CPython 3.9 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b81fcdf2cbb8a75989357a7f79ab5ae8e6de9984c09f2dce6fc472192a2441af
BLAKE2b-256 checksum
How to use checksums
5cf90c0e6d8573e4329ce4d0ac875eecca67f1a27f51ce7120447930f2cac007
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / opm-2026.10-cp38-cp38-manylinux_2_28_x86_64.whl

Download URL opm-2026.10-cp38-cp38-manylinux_2_28_x86_64.whl
Size 4.7 MB
Tags CPython 3.8 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
546a342f76463cc78188843dab3508f743ea7621a4bbd58c08bbabf2e6558b3c
BLAKE2b-256 checksum
How to use checksums
9a06c57d79b0f114c40ec1c5a8704341d6d84119a0aacff6bc98191803bb03fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for opm 2026.10

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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