Skip to main content

Python connector to OSIsoft PI SDK

Project description

A python connector to the OSISoft PI and PI-AF databases

This connector allows access to the OSISoft PI System through their proprietary SDK. It provides a number of classes, mostly mirroring the AF SDK structure, but at the same time implementing the cool stuff we use Python for. Connections to the database are therefore implemented as context managers, to allow opening a connection using a with statement.

PIconnect on PyPI PIconnect on conda-forge Continuous Integration status Documentation Status Security Updates Automated code review Code style: black

Python connector to OSIsoft PI SDK

Features

Features below are for both: PI Server and PIAF Database:

  • Extract recorded values

  • Extract interpolated values

  • Update a value

  • Summarize data before extraction with help of OSIsoft PI SDK

  • Filter data before extraction with help of OSIsoft PI SDK

History

0.9.1 (2021-08-11)

  • Fixes the Exception type to swallow (related to #580)

  • Fixes missing dependency in wheel (#595)

0.9.0 (2021-08-10)

  • Added support to write values to the databases (#573)

  • Added support for extracting Event frames from PI-AF (#587)

  • Added methods to extract a single historic value from both PIPoint and PIAFAttribute objects. (#523)

  • Added options to login to the PI Server using provided credentials (#522)

  • Added option to set the connection timeout for data extraction (#572)

  • Better loading of the configured servers (#580)

  • All data extracting functions now support both extraction using strings and datetime objects. (#574)

0.8.0 (2020-03-03)

  • Added option to configure the timezone for the returned index. Changed default from Europe/Amsterdam to UTC! Adds pytz as new dependency(#499)

  • More robust detection of the default PI AF server (#496, #501)

  • Removed pytest-runner dependency unless explicitly requested (#503)

  • Exiting the context manager for a PIAFDatabase no longer explicitly disconnects from the server, but leaves it up to SDK. (#487)

  • Various updates of the package dependencies

0.7.1 (2019-08-16)

  • Improved documentation

  • Changed PIData.PISeriesContainer to an Abstract Base Class

0.7.0 (2018-11-14)

  • Add summary, summaries, and filtered_summaries methods to PIPoint

    and PIAFAttribute

0.6.0 (2018-07-05)

0.5.1 (2017-11-25)

0.4.0 (2017-11-25)

  • First release on PyPI.

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

piconnect-0.12.1.tar.gz (44.8 kB view details)

Uploaded Source

Built Distribution

PIconnect-0.12.1-py2.py3-none-any.whl (32.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file piconnect-0.12.1.tar.gz.

File metadata

  • Download URL: piconnect-0.12.1.tar.gz
  • Upload date:
  • Size: 44.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for piconnect-0.12.1.tar.gz
Algorithm Hash digest
SHA256 fdbfb4e3693f52c62420f17501a8d4f212f5ef715fd0b2360e30a4ab3ee7decf
MD5 8e1344499c4c1a66560ab89a1ad2beaa
BLAKE2b-256 08a31a93983b87aa18c14de549552253f320e538b6924b21ccf0265a36c77bf4

See more details on using hashes here.

File details

Details for the file PIconnect-0.12.1-py2.py3-none-any.whl.

File metadata

  • Download URL: PIconnect-0.12.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 32.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for PIconnect-0.12.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ef1dad92e537b6243098a18049a261718d2f9b75516dedde1b3b613e3c29b5b6
MD5 af717fdab4c01991fa229dc920e78058
BLAKE2b-256 7a4ae0644e1c840a822da01397f9ab57b70df55e7885251a9fe725599d0cfd57

See more details on using hashes here.

Supported by

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