Skip to main content

Python client for connecting to Equinor STIDapi

Project description

STIDapi-python SNYK dependency check

A simple wrapper package to interface Equinor STIDapi using python and get plant, system, tag and doc data.

Use

Try it out by running the demo or the sample code below.

from stidapi import Plant, Tag, Doc


p = Plant("JSV")
t = p.search_tag("*20LIC*")
t2 = Tag("JSV",t[0].no)


d = t2.get_doc()
d2 = p.get_doc(d[0].no)
d3 = Doc(p.inst_code, d[0].no)

Installing

Install package from pypi using pip install stidapi

Developing / testing

Poetry is preferred for developers. Install with required packages for testing and coverage:
poetry install

Call poetry run pytest to run tests.

To generate coverage report run poetry run pytest --cov=stidapi tests/ --cov-report=xml

To compare coverage with master branch run poetry run diff-cover coverage.xml --compare-branch master

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

stidapi-1.4.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

stidapi-1.4.1-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file stidapi-1.4.1.tar.gz.

File metadata

  • Download URL: stidapi-1.4.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.5 Darwin/25.5.0

File hashes

Hashes for stidapi-1.4.1.tar.gz
Algorithm Hash digest
SHA256 b41d76c6e5e8fce583b3ff43db58c6ece3e1a9f0c168dae725edc36245981622
MD5 1aa90371ac29e39295d5b1e37cb58302
BLAKE2b-256 5f85f638ffc794cd9c7286de8a4af82da4a5341d3bb8c8c30b168befd671283c

See more details on using hashes here.

File details

Details for the file stidapi-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: stidapi-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.5 Darwin/25.5.0

File hashes

Hashes for stidapi-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7c349daf4c1ca799744948479c1c6bf3d6bc6ded8669a1a45649d5f91974fe71
MD5 9101fa670c86e4600ed9460550776b72
BLAKE2b-256 a2ba870193f78576409fc7883f9e76509d31ab4d3868d17c9bde723d8a0d0ded

See more details on using hashes here.

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