opm-origen
Bulding with docker-compose
First, create an env variables file by copying config.env.example into config.env:
$> cp config.env.example config.env
If you wish to publish the package in pypi, you will have to obtain a pypi token and set the environment variable
PYPI_API_TOKEN in config.env.
After that, you can simply use docker-compose to run commands:
docker-compose run build
Building the package without docker/docker-compose
Prerequisites
- Install make, cmake and g++
- Build/Install Opm-Common
- Build/Install Opm-Grid
Install opm packages
sudo apt-add-repository ppa:opm/ppa
sudo apt-get update
sudo apt-get install libopm-common-dev
sudo apt-get install libopm-grid-dev
How to build
git clone git@github.com:OriGenAI/opm-origen.git
cd opm-origen
mkdir build
cd build
cmake ..
make
How to use
- Copy the binary under
build/libfolder - Import the binary from your Python code
- Call the library functions
Examples
from origen.ai.ecl import read_transmissibility
trans = read_transmissibility("path-to-data.DATA")
print(trans)
Develop
You can use the main.cpp file to debug. Just call your function from there and compile the code. You will find the binary in build/bin/main
Metadata
Release files for origen-ai-ecl 0.2.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| origen_ai_ecl-0.2.11.tar.gz | 200.6 kB | Without provenance | Details for origen_ai_ecl-0.2.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| origen_ai_ecl-0.2.11-py3-none-any.whl | Python 3 | none | any | Details for origen_ai_ecl-0.2.11-py3-none-any.whl |
Total release size: 402.1 kB
Release files / origen_ai_ecl-0.2.11.tar.gz
| Download URL | origen_ai_ecl-0.2.11.tar.gz |
|---|---|
| Size | 200.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3ff8faa2f839aa615a3a65e21805132ff3eb4be1efcb75e30cc24c6788bb6ac
|
|
BLAKE2b-256 checksum How to use checksums |
e52c9b98cb84a4debeb0005776eb0170c5805b0bc3c3fd46f8c18711f4cac23e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.8.13 Linux/6.1.11-100.fc36.x86_64
|
Release files / origen_ai_ecl-0.2.11-py3-none-any.whl
| Download URL | origen_ai_ecl-0.2.11-py3-none-any.whl |
|---|---|
| Size | 201.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
086a15303d5d1b9691d25d82b9550010dbaea8489b17999649b508f77b8cee73
|
|
BLAKE2b-256 checksum How to use checksums |
3a83fa476ed6a53f0318c878a2bc9dac86c89f7cccc549150dee4e55a4c82168
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.8.13 Linux/6.1.11-100.fc36.x86_64
|
Security for origen-ai-ecl 0.2.11
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.