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.3

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.3
File Size Uploaded
stidapi-1.4.3.tar.gz 8.7 kB Details

Built distribution (wheel)

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

Total release size: 19.9 kB

Release files / stidapi-1.4.3.tar.gz

Download URL stidapi-1.4.3.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
31b2e8d82e2d451b2e15d1d2ae49f676144b58d771b11d1b3b94a1a985dc9fc5
BLAKE2b-256 checksum
How to use checksums
408c831d4bec86425ca791525e88c6aafc2340971c481b6e553efe06c44cfea2
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.3-py3-none-any.whl

Download URL stidapi-1.4.3-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f6238e87756fcfd40f73692c6b570d9c0a5ecd3b7757dcfcba9f4d082996f60
BLAKE2b-256 checksum
How to use checksums
8d24477f49509c0b58b604630313a75e4fc7797a44696cd36481674cf12f5630
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

1.4.4

2 release files

This release

1.4.3 This release

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