stidapi


Namestidapi JSON
Version 1.3.0 PyPI version JSON
download
home_pageNone
SummaryPython client for connecting to Equinor STIDapi
upload_time2024-09-19 11:41:09
maintainerNone
docs_urlNone
authorÅsmund Våge Fannemel
requires_python<4.0,>=3.9
licenseProprietary
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # STIDapi

A simple wrapper package to interface Equinor [STIDapi](https://stidapi.equinor.com/) and get plant, system, tag and doc data.


## Use

Try it out by running the [demo](examples/demo.py) 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 in html run `poetry run pytest --cov=stidapi tests/ --cov-report html`


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "stidapi",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "\u00c5smund V\u00e5ge Fannemel",
    "author_email": "asmf@equinor.com",
    "download_url": "https://files.pythonhosted.org/packages/8b/8c/24c267d38abfcb5395fbb5de30cef56f42463eaab36302c30d42fb9b7907/stidapi-1.3.0.tar.gz",
    "platform": null,
    "description": "# STIDapi\n\nA simple wrapper package to interface Equinor [STIDapi](https://stidapi.equinor.com/) and get plant, system, tag and doc data.\n\n\n## Use\n\nTry it out by running the [demo](examples/demo.py) or the sample code below.\n\n```\nfrom stidapi import Plant, Tag, Doc\n\n\np = Plant(\"JSV\")\nt = p.search_tag(\"*20LIC*\")\nt2 = Tag(\"JSV\",t[0].no)\n\n\nd = t2.get_doc()\nd2 = p.get_doc(d[0].no)\nd3 = Doc(p.inst_code, d[0].no)\n```\n\n## Installing\n\nInstall package from pypi using `pip install stidapi`\n\n## Developing / testing\n\nPoetry is preferred for developers. Install with required packages for testing and coverage:  \n`poetry install`\n\nCall `poetry run pytest` to run tests.\n\nTo generate coverage report in html run `poetry run pytest --cov=stidapi tests/ --cov-report html`\n\n",
    "bugtrack_url": null,
    "license": "Proprietary",
    "summary": "Python client for connecting to Equinor STIDapi",
    "version": "1.3.0",
    "project_urls": {
        "repository": "https://github.com/equinor/STIDapi-python"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "426462cacf83991564dc299f7da0f8a9ebb61622dec96bce75869a89c9adb16f",
                "md5": "4fa9a14cd52ac3ea6e178a32ccd9a194",
                "sha256": "bfaa8a868f054391c18852177eb95d41acbd479fab287b19aebdc322bc57162a"
            },
            "downloads": -1,
            "filename": "stidapi-1.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4fa9a14cd52ac3ea6e178a32ccd9a194",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 8572,
            "upload_time": "2024-09-19T11:41:08",
            "upload_time_iso_8601": "2024-09-19T11:41:08.551624Z",
            "url": "https://files.pythonhosted.org/packages/42/64/62cacf83991564dc299f7da0f8a9ebb61622dec96bce75869a89c9adb16f/stidapi-1.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8b8c24c267d38abfcb5395fbb5de30cef56f42463eaab36302c30d42fb9b7907",
                "md5": "48a1e7008117afdd68bf33299bc170e2",
                "sha256": "ca926c35fa13d047a30f872a840d1b3a10071896cf56d2d290a1192b7a59aee5"
            },
            "downloads": -1,
            "filename": "stidapi-1.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "48a1e7008117afdd68bf33299bc170e2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 7137,
            "upload_time": "2024-09-19T11:41:09",
            "upload_time_iso_8601": "2024-09-19T11:41:09.551824Z",
            "url": "https://files.pythonhosted.org/packages/8b/8c/24c267d38abfcb5395fbb5de30cef56f42463eaab36302c30d42fb9b7907/stidapi-1.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-19 11:41:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "equinor",
    "github_project": "STIDapi-python",
    "github_not_found": true,
    "lcname": "stidapi"
}
        
Elapsed time: 0.33032s