Skip to main content

eq-api-connector

A small python package to handle authentication and act as a generic api sdk.

It supports apis Public client applications using acquire_token_interactive and contains a few basic endpoint accessors.

Install

Install from pypi pip install eq-api-connector or clone and use uv sync as a developer.

Usage

See the dummy example below

from eq_api_connector import APIConnector

url_prod = "https://api.gateway.equinor.com/dummy/v1"
client_id = "insert_your_client_id_here"  # IOC SME monitoring SDK
scope = ["34de7368-10f7-4c34-a4df-928156065f2c/ReadWrite"]

c = APIConnector(client_id=client_id, scope=scope)
c.url_prod = url_prod

model_owners = c.get_json("/example-endpoint")

Typically packages using eq-api-connector should subclass the APIConnector or keep a singleton a reference.

Download files

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

Source Distribution

eq_api_connector-1.1.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

eq_api_connector-1.1.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file eq_api_connector-1.1.1.tar.gz.

File metadata

  • Download URL: eq_api_connector-1.1.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.3 CPython/3.13.7 Darwin/25.6.0

File hashes

Hashes for eq_api_connector-1.1.1.tar.gz
Algorithm Hash digest
SHA256 2b9f185c17c88e6dc19e6027573e072159c7e9f6fc366912cba85ca33e5d8dfa
MD5 b86d7e2e27fc4618450f7a64e1e8ccc8
BLAKE2b-256 81e7abf29ae8f5017d190fb41ec3840a387df97113c5fbe96a102475e4d575be

See more details on using hashes here.

File details

Details for the file eq_api_connector-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: eq_api_connector-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.3 CPython/3.13.7 Darwin/25.6.0

File hashes

Hashes for eq_api_connector-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2cca62174fe046158c5da74ab52d8d7f7b6bddc81591bd34be960178bee3686d
MD5 c05188c50a85377240e243f576847971
BLAKE2b-256 a587c4957598c90ccde90751ad5626973661194afec0d3d5d4f2d91a6b0eb553

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 files

1.1.0

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

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