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
- The documentation and the SDK guide.
- Run Ophiolite on your own host and try it there.
- Against a real deployment, sign in with
ophiolite account loginand never put a credential in source files or logs (sign-in). - Licence: Apache-2.0.
Stability, compatibility and qualification statements: CONTRACTS.md.
Metadata
Release files for ophiolite 2026.11.18
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 |
|---|---|---|---|---|
| ophiolite-2026.11.18.tar.gz | 3.5 MB | With provenance | Details for ophiolite-2026.11.18.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ophiolite-2026.11.18-py3-none-any.whl | Python 3 | none | any | Details for ophiolite-2026.11.18-py3-none-any.whl |
Total release size: 5.8 MB
Release files / ophiolite-2026.11.18.tar.gz
| Download URL | ophiolite-2026.11.18.tar.gz |
|---|---|
| Size | 3.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
236c294d5fcc7f225af34a3dbf22e8b7e6ccdb5faa6bf846a5493098614c2add
|
|
BLAKE2b-256 checksum How to use checksums |
9899c42e3e9cbef9ab8372a30b1404c653f0c8b7511cafeebb9d523b2bc0d8ec
|
| 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 14, 2026.
Transparency logRelease files / ophiolite-2026.11.18-py3-none-any.whl
| Download URL | ophiolite-2026.11.18-py3-none-any.whl |
|---|---|
| Size | 2.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a2673c5a548fd8f06b2ba07a22b24b39f9cbe876f8a7d31f9a6e61377876916
|
|
BLAKE2b-256 checksum How to use checksums |
5e796cf10f26c007bb7d5d92454ca077d9b0ea45f3f8d62d5241190e4eb3f563
|
| 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 14, 2026.
Transparency logSecurity for ophiolite 2026.11.18
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.
Attestation for ophiolite-2026.11.18.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 14, 2026.
Transparency logA 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.