Skip to main content

Library for reading from Aspen InfoPlus.21 and OSIsoft PI IMS servers

Project description

tagreader-python

Build Build Status

Index

Introduction

Tagreader is a Python package for reading trend data from the OSIsoft PI and Aspen Infoplus.21 IMS systems. Tagreader is intended to be easy to use, and present as similar as possible interfaces to the backend historians.

Queries are performed using ODBC and proprietary drivers from Aspen and OSIsoft, but code has been structured in such a way as to allow for other interfaces, e.g. REST APIs, in the future.

Tagreader is based on Pandas for Python, and uses the HDF5 file format to cache results.

Requirements

  • Python >= 3.6 with the following packages:
    • pandas >= 0.23
    • pytables
    • pyodbc
  • PI ODBC driver and/or Aspen IP.21 SQLPlus ODBC driver
  • Microsoft Windows (Sorry. This is due to the proprietary ODBC drivers for OSIsoft PI and Aspen IP.21)

Installation

To install and/or upgrade:

pip install --upgrade tagreader

ODBC Drivers

If you work in Equinor, you can find further information and links to download the drivers on our wiki.

If you do not work in Equinor: In order to fetch data from OSIsoft PI or Aspen InfoPlus.21, you need to obtain and install proprietary ODBC drivers. It is typically not sufficient to install the desktop applications from Aspen or OSIsoft, since these normally don't come packaged with 64-bit ODBC drivers. Check with your employer/organisation whether the ODBC drivers are available for you. If not, you may be able to obtain them directly from the vendors.

Uninstallation

pip uninstall tagreader

Contributing

All contributions are welcome, including code, bug reports, issues, feature requests, and documentation. The preferred way of submitting a contribution is to either make an issue on GitHub or by forking the project on GitHub and making a pull request.

Usage examples

TBW

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-1.0.1.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

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

tagreader-1.0.1-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tagreader-1.0.1.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7

File hashes

Hashes for tagreader-1.0.1.tar.gz
Algorithm Hash digest
SHA256 12a264a4164509425b5fa33953941f344e689775b209a97dedde9052005a0ab1
MD5 5616d86cef087afeacdee8b55428d100
BLAKE2b-256 977770eced7532fd9638bba35c1827fdc28ce9ff2aef859c7d82c7a8f774048d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tagreader-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7

File hashes

Hashes for tagreader-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 26e1be1f26d18538af41e2e974bfeb2e64f02eea72cc48b03b6056854ff420a9
MD5 b39089474e365779b8c5bb2537c91118
BLAKE2b-256 0297e04bf2a94e3dadbb1e697e9473b5cc595da9973344a83fe1c209841333fc

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