vivekgoyanka/osipiconnect — reverse-engineered prompt
Reverse engineered prompt
Build me a Python client library for OSIsoft PI Web API 2018 so I can connect to a PI server from a script without dealing with the raw web requests myself. It should support Basic auth and NTLM login with username and password, since Kerberos is not what I want here.
I want simple methods to get recorded, interpolated, and plot values for one PI point or a list of PI points, and return the results as pandas data frames when that makes sense. It should also let me find data servers, points, AF elements, and attributes by path, create a new PI point, read bulk stream values, write bulk values back, run PI Web API batch requests, and generate Web IDs by path.
Please include clear examples, basic tests, setup for installing with pip, and documentation that explains the main classes and common workflows. Keep the API easy to use for normal Python scripts.
Want more depth? Deep Reverse