--- id: piconnect version: "0.12.4" license: MIT license_treatment: permissive maintenance: aging --- # PIconnect — PIconnect - Connector to the OSISoft PI and PI-AF databases. License: permissive · Maintenance: aging · Downloads: 90.9K/mo ## 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 above — 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 pip install piconnect uv add piconnect 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_current - Install friction: low - Maintenance: aging - Downloads: 90.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags osisoft pi database connector, pi system python client, pi-af sdk wrapper, time series data extraction pi, osisoft pi api python, pi server data access, aveva pi connector, time-series, industrial-data, osisoft [View on SkillFed](https://skillfed.io/packages/piconnect) · [View on PyPI](https://pypi.org/project/piconnect/)