Skip to main content

Tagreader is a Python package for reading trend data from the OSIsoft PI and Aspen Infoplus.21 IMS systems.

Project description

tagreader-python

GitHub Build Status PyPI - Python Version PyPI Downloads

Tagreader is a Python package for reading timeseries data from the OSIsoft PI and Aspen Infoplus.21 Information Management Systems (IMS). It is intended to be easy to use, and present as similar interfaces as possible to the backend plant historians.

Installation

You can install tagreader directly into your project from pypi by using pip or another package manager. Supports Python version 3.9.2 and above.

pip install tagreader

Usage

Tagreader is easy to use for both Equinor internal IMS services, and non-internal usage. For non-internal usage you simply need to provide the corresponding IMS service URLs and IMSType. See data source for details.

Usage example

import tagreader
c = tagreader.IMSClient("mysource", "aspenone")
print(c.search("tag*"))
df = c.read_tags(["tag1", "tag2"], "18.06.2020 08:00:00", "18.06.2020 09:00:00", 60)

Note, you can add a timeout argument to the search method in order to avoid long-running search queries.

Jupyter Notebook Quickstart

Jupyter Notebook examples can be found in /examples. In order to run these examples, you need to install the optional dependencies.

pip install tagreader[notebooks]

The quickstart Jupyter Notebook can be found here

For more details, see the Tagreader Docs.

Documentation

The full documentation can be found in Tagreader Docs

Contribute

To starting contributing, please see Tagreader Docs - Contribute

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tagreader-6.2.0.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tagreader-6.2.0-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file tagreader-6.2.0.tar.gz.

File metadata

  • Download URL: tagreader-6.2.0.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.9.13 Windows/10

File hashes

Hashes for tagreader-6.2.0.tar.gz
Algorithm Hash digest
SHA256 c70937ba6163ce49b8bff373454aa9e7e274a71878d45caaf7438cf5ce6802bc
MD5 45e0f1e79d1d200c6709ea499477d904
BLAKE2b-256 c5bed416aceeeaed513b2fece55ec37f36b6cabb11fc90ec2f6bfd9e3e9a9a95

See more details on using hashes here.

File details

Details for the file tagreader-6.2.0-py3-none-any.whl.

File metadata

  • Download URL: tagreader-6.2.0-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.9.13 Windows/10

File hashes

Hashes for tagreader-6.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d315b778ba06c5e4d032339922c147717f76006b414e06e85bd1cc71412eace5
MD5 ce8436d3a2ec2e5d3cc78f24126b1ec7
BLAKE2b-256 55b63e39cbaa1d905f475ad276e0657816eca759ef18f04f656e554a945c4457

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page