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 and tops of the Dutch F3 block, and TNO DGM-deep horizons via NLOG) 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 e466c261fde739e51375ec32ec319a04ba3662eec0074bae0bf6d9745ae2d480 --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.19

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.19
File Size Uploaded Provenance Actions
ophiolite-2026.11.19.tar.gz 3.5 MB With provenance Details for ophiolite-2026.11.19.tar.gz

Built distribution (wheel)

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

Total release size: 5.8 MB

Release files / ophiolite-2026.11.19.tar.gz

Download URL ophiolite-2026.11.19.tar.gz
Size 3.5 MB
Tags Source
SHA-256 checksum
How to use checksums
1715aeae3401d59927485b4453e86ddd7bcba50899b652370b149b9cc4b36e0d
BLAKE2b-256 checksum
How to use checksums
9c9b71f6354c8611c2cb2ad5b438350068a8166cc813c0e6da118f2246631f90
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 16, 2026.

Transparency log

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

Download URL ophiolite-2026.11.19-py3-none-any.whl
Size 2.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
946374d8b160036663740bc81c53882d2ff610da267c7b4211c2a015679cc9a2
BLAKE2b-256 checksum
How to use checksums
918534ce19885f6a1650906c25e8e2ef856fd19492a347dead3ced9815bef793
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 16, 2026.

Transparency log

Security for ophiolite 2026.11.19

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.19.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 16, 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