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!

Release files for opm 2026.4

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.4
File
opm-2026.4-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
opm-2026.4-cp314-cp314-macosx_14_0_arm64.whl CPython 3.14 CPython 3.14 macOS 14.0+ ARM64 Details
opm-2026.4-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
opm-2026.4-cp313-cp313-macosx_14_0_arm64.whl CPython 3.13 CPython 3.13 macOS 14.0+ ARM64 Details
opm-2026.4-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
opm-2026.4-cp312-cp312-macosx_14_0_arm64.whl CPython 3.12 CPython 3.12 macOS 14.0+ ARM64 Details
opm-2026.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
opm-2026.4-cp311-cp311-macosx_14_0_arm64.whl CPython 3.11 CPython 3.11 macOS 14.0+ ARM64 Details
opm-2026.4-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
opm-2026.4-cp310-cp310-macosx_14_0_arm64.whl CPython 3.10 CPython 3.10 macOS 14.0+ ARM64 Details
opm-2026.4-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
opm-2026.4-cp39-cp39-macosx_14_0_arm64.whl CPython 3.9 CPython 3.9 macOS 14.0+ ARM64 Details
opm-2026.4-cp38-cp38-manylinux_2_28_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.28+ x86-64 Details

Total release size: 53.4 MB

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

Download URL opm-2026.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.4 MB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
94850f92b73d71c0de43252594f4b961c1b84d2201ed645ce76e84ca3d87247c
BLAKE2b-256 checksum
How to use checksums
fe556f470677f399054c98f07286ee4c7e879fcd7da5c356deeabbe87be74893
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.4-cp314-cp314-macosx_14_0_arm64.whl

Download URL opm-2026.4-cp314-cp314-macosx_14_0_arm64.whl
Size 3.8 MB
Tags CPython 3.14 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
2c0c61432d10d75a215ef0f98bdaf00faf7644241c3347410a0c29266febb824
BLAKE2b-256 checksum
How to use checksums
f4583731a010ba9ee0ec92428ab1cdd6b1b3e40e8754f72632baef4d5fc29334
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.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL opm-2026.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.4 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
785aef57c363200afbf085f331594a6b2abc5f5610270632f2fed93630d83bf0
BLAKE2b-256 checksum
How to use checksums
ac2b451ff4097516dfa071b57ca5cc39eb36422e4eabcd5ff3f4fd965013b517
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.4-cp313-cp313-macosx_14_0_arm64.whl

Download URL opm-2026.4-cp313-cp313-macosx_14_0_arm64.whl
Size 3.8 MB
Tags CPython 3.13 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
757813edc73f451e13b37cd979d740c3e2aac4312a8bd832055e7933e75ab19e
BLAKE2b-256 checksum
How to use checksums
de9ef3b749a51aa3b4a6246f686b13d9f96bec76159ab7cc11da428ba9d80854
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.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL opm-2026.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.4 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c9d9fef35c356131e61f7fcf4dfd206370502ab362622020aeb01b063b5dd877
BLAKE2b-256 checksum
How to use checksums
ee2e14a40adcf5de633529d7fc86c7cf2d4f2094559fc0b340fc8aa361f1a023
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.4-cp312-cp312-macosx_14_0_arm64.whl

Download URL opm-2026.4-cp312-cp312-macosx_14_0_arm64.whl
Size 3.7 MB
Tags CPython 3.12 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
218d07406a6a2d48fde3d73b83bf9774b38ca9c6c8607baca26ab5b6850b4db0
BLAKE2b-256 checksum
How to use checksums
9cb2a22b7721fbbedbef9d140b96a443c3c153a2a4132370f5baf1abc114a139
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.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL opm-2026.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.4 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a1d85383ab98f095873368efb9ab87ea5daa4c7114db15ec74386d09a1126477
BLAKE2b-256 checksum
How to use checksums
6ab967d1071dd4873fa7eb0167be900e4e3ed4d0ac156a914e93e583eaa63a93
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.4-cp311-cp311-macosx_14_0_arm64.whl

Download URL opm-2026.4-cp311-cp311-macosx_14_0_arm64.whl
Size 3.7 MB
Tags CPython 3.11 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
feb1ba7a6b18e6b580c531c78039b1afc2447ed517138decf1457e81053c3427
BLAKE2b-256 checksum
How to use checksums
f29c5fd0589ff5de70d1b2cbecf0a51e591c97171e95781eafff0229e816cf58
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.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL opm-2026.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.4 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d84ae694cc284fc25582a9897afc2ea769b9595ad12df7005c4ee04ba4b1fd5c
BLAKE2b-256 checksum
How to use checksums
d66b088df93e2063c477242468b2f3af912cb761d8ed7d939965925bf9381147
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.4-cp310-cp310-macosx_14_0_arm64.whl

Download URL opm-2026.4-cp310-cp310-macosx_14_0_arm64.whl
Size 3.7 MB
Tags CPython 3.10 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
8b99a2c8934e5c156164d2bdc0e6b815d40f77ac61bbcb4afbb200d270cde6cc
BLAKE2b-256 checksum
How to use checksums
3e4b6da3ec035eccaea5a6d390212296cbc8ecfdbaf9c307468e2ca7f4a811f5
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.4-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL opm-2026.4-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.4 MB
Tags CPython 3.9 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7dccaf8895dada0bd4f75ab24cb43f82363836736897809b49910a20c5cccaac
BLAKE2b-256 checksum
How to use checksums
4efb7cc7e5d729e523ec49eb4fb934faa07d56ed9372d03d5af0658e08d8d6a8
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.4-cp39-cp39-macosx_14_0_arm64.whl

Download URL opm-2026.4-cp39-cp39-macosx_14_0_arm64.whl
Size 3.7 MB
Tags CPython 3.9 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
60dee61f9fd760f154e80a2b780112226823667e826ea4e886f05389b40829a9
BLAKE2b-256 checksum
How to use checksums
d8eee019f77b4b58ee97ab15da5c9187052d4abfe60c8746657ec72c2e5711ce
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.4-cp38-cp38-manylinux_2_28_x86_64.whl

Download URL opm-2026.4-cp38-cp38-manylinux_2_28_x86_64.whl
Size 4.4 MB
Tags CPython 3.8 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
27dbde799146198a33b66edae6435f33a4f6f473d5128e303101dae1ebb8469e
BLAKE2b-256 checksum
How to use checksums
0d34c9f1c310c23ee44bcc102ad26bea3066542659b440d101bd34ecce1b35e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5
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