Skip to main content

purr_petra_cli

purrio logo purrio logo PETRA

Use purr_petra_cli to query Petra projects* from the command line and generate well-centric json. This is a stripped-down implementation of most export functionality of purr_petra.

- core
- dst
- formation
- ip
- perforation
- production
- raster_log
- survey
- vector_log
- well
- zone
  • Each Petra "project" is a semi-structured collection of E&P assets that interoperate with its own DBISAM database. From an IT perspective, Petra is a distributed collection of user-managed databases "on the network" containing millions of assets.

WHO IS THIS FOR?

This was developed as part of a Databricks geospatial catalog pipeline. It is useful for quickly exporting data from Petra, particularly if you don't have a license or want to avoid Petra's cumbersome ASCII export.

LIMITATIONS:

If you are trying to egress lots of data from a large Petra project, this is NOT the tool for you. It relies solely on ODBC via Python. You are better off exporting/parsing a .PPF file.

purr_petra_cli should be fine for smaller projects ~ roughly those with < 100000 wells. Use the --uwis filter to limit state/county. It's slow but memory-safe.

QUICKSTART:

  1. pip install purr_petra_cli
  2. launch console "as Administrator" and run prep-purr-petra
  3. start-purr-petra
  4. visit http://localhost:8070/docs for auto-generated docs

Metadata

Release files for purr-petra-cli 0.1.0

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

Source distribution (sdist)

Source distribution for purr-petra-cli 0.1.0
File Size Uploaded
purr_petra_cli-0.1.0.tar.gz 27.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for purr-petra-cli 0.1.0
File Interpreter ABI Platform
purr_petra_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 61.1 kB

Release files / purr_petra_cli-0.1.0.tar.gz

Download URL purr_petra_cli-0.1.0.tar.gz
Size 27.0 kB
Tags Source
SHA-256 checksum
How to use checksums
94b83da11a9e24f55689d2c8e551764ec374c99ddf003da6d84dda1cbe0c2853
BLAKE2b-256 checksum
How to use checksums
7b5371c5fc5ed42ef8fe4bd4aa1eebb7445db9e6d346562b5839c425afdce675
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.14

Release files / purr_petra_cli-0.1.0-py3-none-any.whl

Download URL purr_petra_cli-0.1.0-py3-none-any.whl
Size 34.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4aed207331a987201b8f143bd35a18e9db05bdb2cb18f5ba83d8635e5ba907af
BLAKE2b-256 checksum
How to use checksums
a1c6231fbc5826264c5ecabc0fc42d8a95c5a5a73d7f03f024f0ceacc2ca5723
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.14

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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