Skip to main content

Ophiolite SDK

Ophiolite keeps subsurface data (well logs, tops, surveys and surfaces) as exact versions with their sources; this SDK reads, checks and publishes them from Python and the ophiolite command.

Install

python -m pip install 'ophiolite==<release>'

This installs the SDK from PyPI once a release is published; Python 3.10 or later is required.

Try it on this computer

ophiolite demo --bundle f3-block.zip

This serves the F3-block bundle (public NLOG wells, logs, surveys, tops and horizons of the Dutch F3 block) on this computer and prints three commands to run on it. The bundle is not yet downloadable; it will be once it is published. For the F3-block bundle the three commands list the wells, fetch one well's whole gamma-ray curve into a new folder, and double a gamma-ray curve and publish the result with the derive-and-publish template:

ophiolite data wells list --configuration ophiolite-demo/configuration.json --credentials ophiolite-demo/credential.json
ophiolite data fetch --asset ae8bb142a42756c9466fb8d6b7a38713583574659db9fdcf94fa9fe3eb60e90c --revision 7d0d2c08d1c270d131cb4e0989953328fdbd5a3bd9f61c114dca5bb421bbe906 --curve GR --output ophiolite-demo/F02-01-GR --configuration ophiolite-demo/configuration.json --credentials ophiolite-demo/credential.json
python ophiolite-demo/derive-and-publish/app --configuration ophiolite-demo/configuration.json --credentials ophiolite-demo/credential.json --work ophiolite-demo/work

The same demo from Python: the wells, and the gamma-ray curve of the first log.

from ophiolite import Client, Credential

credential = Credential.from_file('ophiolite-demo/credential.json')
with Client.from_configuration('ophiolite-demo/configuration.json', credential=credential) as client:
    wells = client.wells()
    log = next(item for item in client.assets() if 'GR' in item['curves'])
    gr = client.read(log['asset_id'], log['revision'], ['GR']).curves[0]
    print(f'{len(wells)} wells, the first {wells[0].name}; GR of the first log: {len(gr.values)} samples, {gr.axis[0]} to {gr.axis[-1]}')

Stop the demo; its publications end with it:

ophiolite demo stop

Where to go

Stability, compatibility and qualification statements: CONTRACTS.md.

Metadata

Release files for ophiolite 2026.11.12

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

Source distribution (sdist)

Source distribution for ophiolite 2026.11.12
File Size Uploaded Provenance Actions
ophiolite-2026.11.12.tar.gz 3.3 MB With provenance Details for ophiolite-2026.11.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ophiolite 2026.11.12
File Interpreter ABI Platform Actions
ophiolite-2026.11.12-py3-none-any.whl Python 3 none any Details for ophiolite-2026.11.12-py3-none-any.whl

Total release size: 5.6 MB

Release files / ophiolite-2026.11.12.tar.gz

Download URL ophiolite-2026.11.12.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
26f8c6bfe024f7ccb973404c8dff0f0b33bfebf2ce62b05ebc112ff7b02d4d8e
BLAKE2b-256 checksum
How to use checksums
1f7eface14d1a8160887908c392d7a9fe7e78b7d3a95304c1bfa35918a1bb24c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / ophiolite-2026.11.12-py3-none-any.whl

Download URL ophiolite-2026.11.12-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
af2d078eab6d6c7f3f3c6b11678dd135d141b88a8c4a39711795e1fcb057a039
BLAKE2b-256 checksum
How to use checksums
199a3b6dfaa648b86bbd842cb964e4edf29c04188a4465e9cb1e759e0b27ed5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for ophiolite 2026.11.12

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ophiolite-2026.11.12.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

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.

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