commonlib-reader


Namecommonlib-reader JSON
Version 1.0.8 PyPI version JSON
download
home_pagehttps://github.com/equinor/commonlib-reader.git
SummaryReader for Equinor commonlib api.
upload_time2025-10-23 21:40:00
maintainerNone
docs_urlNone
authorÅsmund Våge Fannemel
requires_python<4.0.0,>=3.10
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # commonlib-reader [![SNYK dependency check](https://github.com/equinor/commonlib-reader/actions/workflows/snyk.yml/badge.svg)](https://github.com/equinor/commonlib-reader/actions/workflows/snyk.yml)
Connector package for Equinor [Commonlib](https://commonlib.equinor.com/) [api](https://commonlibapi.equinor.com/swagger/index.html). 

Current features:
- Reading code tables
- Getting facility data using the [Facility](commonlib_reader/facility.py) class
- [IMS source ](commonlib_reader/ims.py) lookup tables for facilities
- Getting Tag category, Tag type, Tag format, and Tag format element data. See [tag.py](commonlib_reader/tag.py)
- Getting [units of measure](commonlib_reader/ims.py) definitions.


## Use
Try it out by running the [demo](examples/demo.py).

## Installing

Install package from pypi using `pip install commonlib_reader`


## Developing / testing

Poetry is preferred for developers. Clone and install with required packages for testing and coverage:  
`poetry install`

For testing with coverage run:  
`poetry run pytest --cov --cov-report=html`

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/equinor/commonlib-reader.git",
    "name": "commonlib-reader",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0.0,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "\u00c5smund V\u00e5ge Fannemel",
    "author_email": "asmf@equinor.com",
    "download_url": "https://files.pythonhosted.org/packages/db/f4/bd44d1bb1675627d8858842fa03e4977365930012615f0fb36416c7437a1/commonlib_reader-1.0.8.tar.gz",
    "platform": null,
    "description": "# commonlib-reader [![SNYK dependency check](https://github.com/equinor/commonlib-reader/actions/workflows/snyk.yml/badge.svg)](https://github.com/equinor/commonlib-reader/actions/workflows/snyk.yml)\nConnector package for Equinor [Commonlib](https://commonlib.equinor.com/) [api](https://commonlibapi.equinor.com/swagger/index.html). \n\nCurrent features:\n- Reading code tables\n- Getting facility data using the [Facility](commonlib_reader/facility.py) class\n- [IMS source ](commonlib_reader/ims.py) lookup tables for facilities\n- Getting Tag category, Tag type, Tag format, and Tag format element data. See [tag.py](commonlib_reader/tag.py)\n- Getting [units of measure](commonlib_reader/ims.py) definitions.\n\n\n## Use\nTry it out by running the [demo](examples/demo.py).\n\n## Installing\n\nInstall package from pypi using `pip install commonlib_reader`\n\n\n## Developing / testing\n\nPoetry is preferred for developers. Clone and install with required packages for testing and coverage:  \n`poetry install`\n\nFor testing with coverage run:  \n`poetry run pytest --cov --cov-report=html`\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Reader for Equinor commonlib api.",
    "version": "1.0.8",
    "project_urls": {
        "Homepage": "https://github.com/equinor/commonlib-reader.git",
        "Repository": "https://github.com/equinor/commonlib-reader.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "06e8b8d5db777603d2b6766a56853936020b79e2a022b028a821d9f543f4f4ef",
                "md5": "fece942f8e4cd74e2ca7ea50c0c9019a",
                "sha256": "6b19ff308024ed73fb5120eab5e13fcbc0605355566739392c7234c33218d440"
            },
            "downloads": -1,
            "filename": "commonlib_reader-1.0.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fece942f8e4cd74e2ca7ea50c0c9019a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0.0,>=3.10",
            "size": 11789,
            "upload_time": "2025-10-23T21:39:58",
            "upload_time_iso_8601": "2025-10-23T21:39:58.761988Z",
            "url": "https://files.pythonhosted.org/packages/06/e8/b8d5db777603d2b6766a56853936020b79e2a022b028a821d9f543f4f4ef/commonlib_reader-1.0.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dbf4bd44d1bb1675627d8858842fa03e4977365930012615f0fb36416c7437a1",
                "md5": "01ae22871bac31ea65cd28de77254c2a",
                "sha256": "5fc2fa1c28df0728212d83d5faa13e00c83cf076b2f39d6457abfd1b7261ec43"
            },
            "downloads": -1,
            "filename": "commonlib_reader-1.0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "01ae22871bac31ea65cd28de77254c2a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0.0,>=3.10",
            "size": 9552,
            "upload_time": "2025-10-23T21:40:00",
            "upload_time_iso_8601": "2025-10-23T21:40:00.021559Z",
            "url": "https://files.pythonhosted.org/packages/db/f4/bd44d1bb1675627d8858842fa03e4977365930012615f0fb36416c7437a1/commonlib_reader-1.0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-23 21:40:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "equinor",
    "github_project": "commonlib-reader",
    "github_not_found": true,
    "lcname": "commonlib-reader"
}
        
Elapsed time: 1.61790s