PIconnect
PIconnect - Connector to the OSISoft PI and PI-AF databases.
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 piconnectuv
uv add piconnectpoetry
poetry add piconnectInstalling 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
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
pigpioProvides Python access to the pigpio daemon for…
permissive · top 15,000 on PyPI
pyodbcpyodbc provides Python access to ODBC databases…
permissive · top 1,000 on PyPI
meteomaticsConnects Python applications to the Meteomatics…
permissive · top 15,000 on PyPI
mariadbMariaDB Connector/Python provides a DB API…
copyleft · top 15,000 on PyPI
systembridgeconnectorProvides a connector client for the System…
permissive · top 15,000 on PyPI
kafka-connect-pyA command-line tool and Python client for…
permissive · top 15,000 on PyPI
aiohttp-sse-clientProvides an async Python client for consuming…
permissive · top 15,000 on PyPI
aiohttp-sse-client2Provides an async Python client for consuming…
permissive · top 15,000 on PyPI
binance-connectorConnects Python applications to Binance's…
permissive · top 15,000 on PyPI
airbytePyAirbyte lets you run Airbyte data connectors…
unclear · top 5,000 on PyPI