Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Introduction

A Python library for interfacing with Petrel.

Usage

Python Tool Pro requires a connection to be established from the preferred client-side Python IDE to the Python Tool Pro server in Petrel. Petrel domain objects are accessed from the external Python IDE and the scripts are executed outside of Petrel. The results of the Python scripts are then streamed back to Petrel.

Basic Example - Open connection

from cegalprizm.pythontool import PetrelConnection
petrel = PetrelConnection()
project_name = petrel.get_current_project_name()
print(f'Name of currently active Petrel project is "{project_name}"')
petrel.close()

Further information and examples

Please see the Cegal Prizm Documentation site here

License

Copyright (2022) Cegal, As. This library (the "Software") may not be used except in connection with the Licensees use of the Cegal Prizm Hub pursuant to an Agreement (defined below) between Licensee (defined below) and Cegal, AS. ("Cegal"). This Software shall be deemed part of the "Subscription Services" under the Agreement. Licensees use of the Software must comply at all times with any restrictions applicable to the Subscription Services, generally, and must be used in accordance with any applicable documentation. If you have not agreed to an Agreement or otherwise do not agree to these terms, you may not use the Software. This license terminates automatically upon the termination of the Agreement or Licensees breach of these terms. Agreement: the agreement between Cegal and Licensee governing the use of the Cegal Prizm Hub, which shall be, with respect to Cegal, and the Cegal Terms of Service located at https://cegal.com/about/terms-and-conditions , in each case unless Licensee has entered into a separate written agreement with Cegal governing the use of the applicable Cegal Services. Licensee: the user of the Software, or, if the Software is being used on behalf of a company, the company.

Release files for cegalprizm-pythontoolpro 2.0.dev33095

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

Built distribution (wheel)

Table of built distributions (wheels) for cegalprizm-pythontoolpro 2.0.dev33095
File Interpreter ABI Platform
cegalprizm_pythontoolpro-2.0.dev33095-py3-none-any.whl Python 3 none any Details

Release files / cegalprizm_pythontoolpro-2.0.dev33095-py3-none-any.whl

Download URL cegalprizm_pythontoolpro-2.0.dev33095-py3-none-any.whl
Size 569.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dac1d151ac2ac4cbb5bd713848fff414b0503855d1a98f9377124cc09b5381ce
BLAKE2b-256 checksum
How to use checksums
c010e1465e5d104bbf84e7bc5deaf96c73924a0d298ed5b2ea3d63d10aa2e1e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10
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