Skip to main content

API Wrapper for the Stimline IDEX collaboration platform software used for well intervention.

Project description

Stimline IDEX Software API Wrapper for Python

Ruff

The stimline-idex package is an abstraction layer developed for interacting with the Stimline IDEX Collaboration software API.

It is based on available API documentation for the Aker BP IDEX environment publicly available here.

The Wrapper currently supports API version 1.0.

Getting started

Usage is fairly simple. You can authenticate using an X-API-KEY or using a JWT auth flow that requests a bearer token from the authentication endpoint.

from stimline_idex import ApiKeyAuth, IDEXClient, JWTAuth

api_auth = ApiKeyAuth(
    base_url = "https://<env>.idexcloud.net/idexapi/1.0/",
    x_api_key = "00000000-0000-0000-0000-000000000000"
)

client_api = IDEXClient(auth=api_auth)

jwt_auth = JWTAuth(
    base_url = "https://<env>.idexcloud.net/idexapi/1.0/",
    username = "foo",
    password = "bar"
)

client_jwt = IDEXClient(auth=jwt_auth)

The different modules are available for interaction:

wellbores = client_api.wellbores.get(top=3)

Project details


Download files

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

Source Distribution

stimline_idex-0.2.0.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

stimline_idex-0.2.0-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

Details for the file stimline_idex-0.2.0.tar.gz.

File metadata

  • Download URL: stimline_idex-0.2.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Windows/10

File hashes

Hashes for stimline_idex-0.2.0.tar.gz
Algorithm Hash digest
SHA256 87f064bd1634112a7c7caa09465b78aad682503516464a4028d23db17d8fd57e
MD5 c494d01ed75f2063069a33cf497da2cf
BLAKE2b-256 feee10c06904cebcab72ece26429ab02922b5b24cc4d955004c3d93558a85605

See more details on using hashes here.

File details

Details for the file stimline_idex-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: stimline_idex-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 34.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Windows/10

File hashes

Hashes for stimline_idex-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76fd45397eb4e5124e3f1990e2112aa9d0f02ed8be403d21ea769c9ce916b274
MD5 917194bda6c74f0be54c3eb1dc92c9cf
BLAKE2b-256 3bf344c13e796e0256aac4ab0e947f778512080f71ee1e27466c514ff3852c7b

See more details on using hashes here.

Supported by

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