Skip to main content

STIDapi-python

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

Dependency manager uv is preferred for developers. Install with required packages for testing and coverage:
uv sync

Call uv run pytest to run tests.

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

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

Metadata

Release files for stidapi 1.4.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stidapi 1.4.4
File Size Uploaded
stidapi-1.4.4.tar.gz 8.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stidapi 1.4.4
File Interpreter ABI Platform
stidapi-1.4.4-py3-none-any.whl Python 3 none any Details

Total release size: 19.9 kB

Release files / stidapi-1.4.4.tar.gz

Download URL stidapi-1.4.4.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
de90776928c25651d586de348f0a828e0f32435dbaf2b304c1d7a0621234c8d3
BLAKE2b-256 checksum
How to use checksums
8857e8d92e3378a1761eb7749025fd7aaff914743562e118b537eff5a3949170
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.3 CPython/3.13.7 Darwin/27.0.0

Release files / stidapi-1.4.4-py3-none-any.whl

Download URL stidapi-1.4.4-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3b602e068d5331aa235b0a399b48d96b09132b7127a0400d367cd4752265bb2
BLAKE2b-256 checksum
How to use checksums
412a18911e2b048e04e7547f370b56f965a4659c5c7d0b1660877b32a051e563
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.3 CPython/3.13.7 Darwin/27.0.0

Release history Release notifications | RSS feed

This release

1.4.4 This release

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.6

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release 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