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)
| File | Size | Uploaded | |
|---|---|---|---|
| stidapi-1.4.3.tar.gz | 8.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|