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.
Metadata
Release files for eq-api-connector 1.2.1
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 |
|---|---|---|---|---|
| eq_api_connector-1.2.1.tar.gz | 5.3 kB | Without provenance | Details for eq_api_connector-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eq_api_connector-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for eq_api_connector-1.2.1-py3-none-any.whl |
Total release size: 11.0 kB
Release files / eq_api_connector-1.2.1.tar.gz
| Download URL | eq_api_connector-1.2.1.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55a124af3fe14783a2ed1f6a2d5bf8946257f0547fd758f05f9ea199ee194e38
|
|
BLAKE2b-256 checksum How to use checksums |
093adb7557ef5f6f0052822bc4943caf3ceb0a95d3fb6e1d21602d59c03a0e2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.3 CPython/3.13.7 Darwin/27.2.0
|
Release files / eq_api_connector-1.2.1-py3-none-any.whl
| Download URL | eq_api_connector-1.2.1-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19bbc304aa1f089feb1e53c73aa79882c8fc854602ebe59a44190c9428ee4efb
|
|
BLAKE2b-256 checksum How to use checksums |
58bfe6eeb10918d7011d4e9ab2ea0dc76cf2374449c01d3a5643ed6b6d56ee33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.3 CPython/3.13.7 Darwin/27.2.0
|
Security for eq-api-connector 1.2.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.