Skip to main content

OPM-Common Python bindings

Project description

This folder contains the Python bindings and code required for embedding python for the OPM-common module of the Open Porous Media project.

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

For embedded python code, see the documentation.

To enable tooltips for embedded python code (opm_embedded) for the editor VS Code:

  • Either: Install opm-common.

  • 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.

    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:\n\nclass Builtin:/" > opm_embedded.pyi
    

    in <opm-common-build-folder>/python/opm.

    This will copy the resulting stub file opmcommon_python.pyi to "opm_embedded.pyi" and add the lines

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

opm-2024.4-cp312-cp312-manylinux2014_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.12

opm-2024.4-cp311-cp311-manylinux2014_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.11

opm-2024.4-cp310-cp310-manylinux2014_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.10

opm-2024.4-cp39-cp39-manylinux2014_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.9

opm-2024.4-cp38-cp38-manylinux2014_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.8

opm-2024.4-cp37-cp37m-manylinux2014_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.7m

opm-2024.4-cp36-cp36m-manylinux2014_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.6m

File details

Details for the file opm-2024.4-cp312-cp312-manylinux2014_x86_64.whl.

File metadata

  • Download URL: opm-2024.4-cp312-cp312-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: CPython 3.12
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for opm-2024.4-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e0fe45aeeae18ad275aa410b29db6d57347dfb2d2af18b9a01fcbc206eb5c44f
MD5 7c77b29e1d1b2da9dacaddaf6cc6ce50
BLAKE2b-256 1da2b2fae6d5eebd82c10785eb342335f80156060a1aa9500d960bf70a6f60fe

See more details on using hashes here.

File details

Details for the file opm-2024.4-cp311-cp311-manylinux2014_x86_64.whl.

File metadata

  • Download URL: opm-2024.4-cp311-cp311-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: CPython 3.11
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for opm-2024.4-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 63c5f76256741a21c137ec196895ac65261cb75ad77c930408d0339ed048ffff
MD5 8267369d933084c7ef47a09a5d04cb71
BLAKE2b-256 d963ef586c18371ceebfd28326bac0bffdca3c87be7ddba5320ba0d24cf31007

See more details on using hashes here.

File details

Details for the file opm-2024.4-cp310-cp310-manylinux2014_x86_64.whl.

File metadata

  • Download URL: opm-2024.4-cp310-cp310-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: CPython 3.10
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for opm-2024.4-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1360f2ed4a09c6bf351255d64c6bb2dd7e092c3f475af409ec9a1714489e058a
MD5 ceb07c30b1dc76f2667551bec868bbe3
BLAKE2b-256 452221d867ffc4f7bbd1a45a2ba6518d0f0ff82e2e652a87b5e2781d51cc27e4

See more details on using hashes here.

File details

Details for the file opm-2024.4-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

  • Download URL: opm-2024.4-cp39-cp39-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for opm-2024.4-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b20b37ef22948284a7b95ff776d06d957b4e1de8d1d958b7e974b9d0bce216ac
MD5 0e4bd7cf52b5d9f7d010b959364848d3
BLAKE2b-256 1ce86e4f07bee3eda6e6e118b8ec6510f1a190b5cfe123db4873ed5f6fabc477

See more details on using hashes here.

File details

Details for the file opm-2024.4-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: opm-2024.4-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for opm-2024.4-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cb45d2319af98874a4ed5b2273d2fb23c060d1b88654c581e40ddd54713aa6f1
MD5 1af8d6ae1af95d40e46bafc2e68fab82
BLAKE2b-256 0e01242f4ffeeae427c7ef0630b976b225e3412d1b796143fe747b761db80d91

See more details on using hashes here.

File details

Details for the file opm-2024.4-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: opm-2024.4-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for opm-2024.4-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4fc52a741c75cb34e94206f2beda85ff92aec82457a1fef318e759ec6da4f547
MD5 888aa0660bb10440473dd714e2922cf9
BLAKE2b-256 37fe85814cf1a29e8ddc91bd02998281587d1098d7cd3118c100eaa5272a6e18

See more details on using hashes here.

File details

Details for the file opm-2024.4-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: opm-2024.4-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for opm-2024.4-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 943eed304ea7ed650fa59536c4c27c8b6c1b2e94c7a2bb7fb50eb7fd76772fce
MD5 ba62bad138c10039a89ba47eb3c0f58e
BLAKE2b-256 aae574d78d5977881fd7b1dafda19733f2b5d6645611ba38c4d1f69fb1a36f9c

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