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.2.tar.gz (8.2 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.2-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stidapi-1.4.2.tar.gz
  • Upload date:
  • Size: 8.2 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.2.tar.gz
Algorithm Hash digest
SHA256 db28ec3524471253ccf58c0dea24be782a60ce6b71bea47b34deb948056e53b3
MD5 fa30c29f13f8455780b3efbe69ae5acb
BLAKE2b-256 e306120b3918ca9c739be4c1d26e58551181d8e57f55088e0190cfa950e8f5ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stidapi-1.4.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c6e86e162f6c43df9b4368f685d3d2ccc485cd202d2c46d1d20016627c80aefd
MD5 5da4bdd5c988d2bd4b894a71efdfafd5
BLAKE2b-256 9dba8fdf3201a6916b3d3cf3b92fc0ecdb18ee19545e96acfe32dd05ec7f0c67

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