stidapi


Namestidapi JSON
Version 1.2.1 PyPI version JSON
download
home_pageNone
SummaryPython client for connecting to Equinor STIDapi
upload_time2024-08-19 11:45:35
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/66/ce/a198721e26cd87fd5cfcf1b1c8817cee239175056b3ac5fef993a5b63f15/stidapi-1.2.1.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.2.1",
    "project_urls": {
        "repository": "https://github.com/equinor/STIDapi-python"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "754b265eeec41795ef79f866ded7dcf9d4a17198698375502b36043f29b32a78",
                "md5": "455b60a411db24f684a95248e75d732b",
                "sha256": "2ee6a8f07d8f821bf1ae80fd3348ca59f5d4934921c4669dbb67ea629f15bef7"
            },
            "downloads": -1,
            "filename": "stidapi-1.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "455b60a411db24f684a95248e75d732b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 8319,
            "upload_time": "2024-08-19T11:45:34",
            "upload_time_iso_8601": "2024-08-19T11:45:34.030241Z",
            "url": "https://files.pythonhosted.org/packages/75/4b/265eeec41795ef79f866ded7dcf9d4a17198698375502b36043f29b32a78/stidapi-1.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "66cea198721e26cd87fd5cfcf1b1c8817cee239175056b3ac5fef993a5b63f15",
                "md5": "30bf22dfcab0a8f6bc4825ff62a5df0d",
                "sha256": "b3480042781a3319b071fe34c7c90f534bd816c62986e6cd50698ce629e86a32"
            },
            "downloads": -1,
            "filename": "stidapi-1.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "30bf22dfcab0a8f6bc4825ff62a5df0d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 6859,
            "upload_time": "2024-08-19T11:45:35",
            "upload_time_iso_8601": "2024-08-19T11:45:35.376511Z",
            "url": "https://files.pythonhosted.org/packages/66/ce/a198721e26cd87fd5cfcf1b1c8817cee239175056b3ac5fef993a5b63f15/stidapi-1.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-19 11:45:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "equinor",
    "github_project": "STIDapi-python",
    "github_not_found": true,
    "lcname": "stidapi"
}
        
Elapsed time: 0.30951s