skillfed

PIconnect

PIconnect - Connector to the OSISoft PI and PI-AF databases.

piconnect v0.12.4 90.9K downloads/30d#13,558 on PyPI104
Permissive license MIT AGING released

What it is and what it does

PIconnect wraps the OSIsoft PI SDK to let Python developers query and update time-series data stored in PI and PI-AF databases. It mirrors the AF SDK structure while adding Python idioms like context managers for connection handling. The package supports extracting recorded and interpolated values, updating records, and applying server-side summarization and filtering before data retrieval.

The package depends on pandas, numpy, pythonnet, and wrapt. It targets modern Python (3.10–3.13) and is classified as Beta. With 104 GitHub stars and steady maintenance, it serves a niche but established user base in industrial data access workflows.

Use it for:

  • Extract historical time-series data from PI servers for analysis in pandas DataFrames.
  • Build automated reports that query PI-AF databases and aggregate data using server-side filters.
  • Update PI tag values programmatically from Python applications or ETL pipelines.
  • Retrieve interpolated values at regular intervals for trend analysis or anomaly detection.
  • Integrate PI data access into Python-based monitoring or alerting systems.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

PIconnect provides Python access to OSIsoft PI and PI-AF databases through their SDK, enabling extraction, interpolation, updates, and server-side filtering of time-series data.

Yes, if you need Python access to OSIsoft PI or PI-AF systems and have .NET runtime available. The package is stable, permissively licensed, and has low install friction. Maintenance is aging (508 days since last release), so verify compatibility with your PI SDK version and AVEVA's current tooling before committing to production use.

Install

piconnect on PyPI

pip

pip install piconnect

uv

uv add piconnect

poetry

poetry add piconnect

Installing PIconnect

Before you install

Low install friction with a pure-Python wheel. Maintenance is aging—last release was 508 days ago, though the repository remains active with recent commits. The package requires pythonnet, which depends on .NET runtime availability on your system.

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions. You may use, modify, and distribute the package freely as long as you include the license notice.

Quickstart

pip install piconnect

import piconnect
with piconnect.PIServer() as server:
    data = server.query()

Requires .NET runtime (via pythonnet dependency) and access to an OSIsoft PI or PI-AF server instance.

Verify before relying

  • Whether pythonnet's .NET dependency is available on all target platforms (Windows, Linux, macOS).
  • Current compatibility with recent OSIsoft PI SDK versions and AVEVA rebranding.
  • Performance characteristics for large-scale data extraction or high-frequency queries.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.11)
Install friction low — pure-Python wheel
Runtime dependencies 4 — pandas, numpy, pythonnet, wrapt
Maintenance aging — 508 days since the last release
Last repo commit
First released
Downloads 90,877/month — #13,558 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: piconnect-0.12.4-py3-none-any.whl

Keywords: OSIsoft, AVEVA, PI, Process Information, PIconnect

Development Status :: 4 - BetaIntended Audience :: DevelopersProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Database

Tags

osisoft pi database connectorpi system python clientpi-af sdk wrappertime series data extraction piosisoft pi api pythonpi server data accessaveva pi connector
time-seriesindustrial-dataosisoft

More Database packages