Skip to main content

A professional library for PI Web API integration

Project description

piwebapiconnect

A professional Python library for PI Web API integration.

Installation

pip install -e ./piwebapiconnect

Usage

Using .env file

from piwebapiconnect import get_service
service = get_service()

Passing credentials directly

from piwebapiconnect import get_service

service = get_service(
    url="https://your-pi-server/piwebapi",
    username="domain\\user",
    password="your-password",
    server_name="PISERVER01",
    verify_ssl=False  # Optional
)

async def main():
    val = await service.get_current_value("YourTagName")
    print(val)

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

piwebapiconnect-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

piwebapiconnect-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file piwebapiconnect-0.1.0.tar.gz.

File metadata

  • Download URL: piwebapiconnect-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for piwebapiconnect-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c2a8e681a854bccd08d5fadb81cd680f686a92582729b513c95382e8ee639eee
MD5 522d20dc740c8b28f970c7c101824a69
BLAKE2b-256 1d6e82e6d5fcd6238712d5923273e17a768c39b9f1d465393f7ea65265774a2e

See more details on using hashes here.

File details

Details for the file piwebapiconnect-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for piwebapiconnect-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0c4172a9e94e0ad34a5a14ea6e9c2cab9bb3d463dadc966f5aa258e0772d96f
MD5 77735e3e37bb5650516ce59df6c907d4
BLAKE2b-256 aabfb08ff48fe7059e9d339ea71d8d36e736f6d531ec5c59877d319570a764ae

See more details on using hashes here.

Supported by

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