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.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stidapi-1.4.5.tar.gz | 9.5 kB | Without provenance | Details for stidapi-1.4.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stidapi-1.4.5-py3-none-any.whl | Python 3 | none | any | Details for stidapi-1.4.5-py3-none-any.whl |
Total release size: 21.0 kB
Release files / stidapi-1.4.5.tar.gz
| Download URL | stidapi-1.4.5.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6694ba049681eebcb82faa8d08556052ede771f8e145b58990081ce972f3233b
|
|
BLAKE2b-256 checksum How to use checksums |
969926426ef5b44cfa298eed9914127e26067ae0c32891f3bad27f6cd3177b06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.3 CPython/3.13.7 Darwin/27.2.0
|
Release files / stidapi-1.4.5-py3-none-any.whl
| Download URL | stidapi-1.4.5-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba427b2dda3b2b33c675a26225dfd2ffcf35fa9d13368d79d036ad6b8352ff27
|
|
BLAKE2b-256 checksum How to use checksums |
5e335dd78562b0eef875a3bab02eabe9175d88fcee1a18756ff7c1bd23732cbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.3 CPython/3.13.7 Darwin/27.2.0
|
Security for stidapi 1.4.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.