Skip to main content

Local-first subsurface workflow SDK and install diagnostics for Ophiolite

Project description

ophiolite-sdk

ophiolite-sdk provides the ophiolite_sdk Python package and the local ophiolite command surface for Ophiolite's preview subsurface workflow SDK.

The current public wheel is an early macOS Apple Silicon preview for Python 3.10-3.12. It bundles the native Ophiolite CLI so a clean install can run ophiolite doctor without a source checkout.

It does not introduce a second backend. Automation commands shell out to the existing JSON-producing CLI so scripts, notebooks, and local automation can reuse the same platform-owned operation surface.

Install

python -m pip install ophiolite-sdk
ophiolite doctor
ophiolite auth status

The current preview reports a license warning until commercial activation is implemented. Other doctor failures should be treated as install issues.

Scope

Current wrapped platform operations:

  • project lifecycle and inventory
  • well, wellbore, and survey discovery
  • well-panel, survey-map, trajectory, and section-overlay resolution
  • operator lock inspection and operator package installation
  • compute catalog lookup and compute execution
  • install doctor and local license certificate inspection
  • import preview, vendor bridge, and fixture-generation utilities

The Python wrapper stays checked against the platform operation catalog, so the wrapped CLI surface does not drift silently.

Usage

For a source checkout:

python -m pip install -e .
ophiolite doctor
ophiolite auth status
ophiolite-automation operation-catalog

ophiolite is the preferred command name for user-facing install checks. ophiolite-automation remains available as the explicit automation wrapper name.

Build the preview SDK package from the python/ directory with:

python -m pip install --upgrade build
python -m build

Or from Python:

from ophiolite_automation import OphioliteApp

app = OphioliteApp()
catalog = app.operation_catalog()
print(catalog["catalog_name"])

Surface Conformance

Ophiolite keeps a checked-in platform operation catalog at crates/ophiolite-cli/operations/catalog.json.

Run the Python-side conformance check with:

ophiolite-automation verify-surface-contracts

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ophiolite_sdk-0.1.2-py3-none-macosx_14_0_arm64.whl (26.0 MB view details)

Uploaded Python 3macOS 14.0+ ARM64

File details

Details for the file ophiolite_sdk-0.1.2-py3-none-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for ophiolite_sdk-0.1.2-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f9c8fabc7b2e930eb759d879f025fd3700136f743f29fa6251fa0285bb530021
MD5 fa1cbdff10db975bac47d42965aa0194
BLAKE2b-256 7469f684f1fb0fd011e328062f8523aa33eb8ccf6bf9bb2550586c9484bb809d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ophiolite_sdk-0.1.2-py3-none-macosx_14_0_arm64.whl:

Publisher: sdk-pypi-publish.yml on tuna-soup/ophiolite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page