Skip to main content

PyIDH

Python wrapper for IDH (Industrial Data Hub) library.

Installation

  1. Install Microsoft Visual C++ 2015-2022 Redistributable:

  2. Install pyidh:

pip install pyidh

Usage

from pyidh import IDHLibrary, IDH_DATATYPE, IDH_RTSOURCE

# Create IDH Instance
idh = IDHLibrary()

# Create Data Source
source = idh.create_source(
    source_type=IDH_RTSOURCE.IDH_RTSOURCE_UA.value,
    source_schema="opc.tcp://localhost:4840",
    sample_timespan_msec=1000
)

# Read data
tags = [
    {
        "data_type": IDH_DATATYPE.IDH_DATATYPE_REAL.value,
        "namespace_index": 3,
        "tag_name": "Demo.Dynamic.Scalar.Float"
    }
]

result, values = idh.read_values(source, tags)
for value in values:
    print(f"Quality: {value.quality}, Timestamp: {value.timestamp}, Value: {value.value}")

# cleanup
idh.destroy_source(source)
idh.destroy()

Requirements

  • Python 3.8 or higher
  • Windows operating system
  • libidh.dll (included in the package)

License

MIT License

Metadata

Release files for pyidh 26.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for pyidh 26.11.0
File Interpreter ABI Platform Actions
pyidh-26.11.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for pyidh-26.11.0-py3-none-win_amd64.whl
pyidh-26.11.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for pyidh-26.11.0-py3-none-manylinux_2_28_x86_64.whl
pyidh-26.11.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for pyidh-26.11.0-py3-none-manylinux_2_28_aarch64.whl

Total release size: 57.1 MB

Release files / pyidh-26.11.0-py3-none-win_amd64.whl

Download URL pyidh-26.11.0-py3-none-win_amd64.whl
Size 4.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
fa6536472ec583c6655b498282e6d8fc12fc4ff1f623f89a80cbc98a24cd269f
BLAKE2b-256 checksum
How to use checksums
d1e6847452e0bb5dcd5d91e5eb640fc354651e7b14b7069dc32b3daa14ad7312
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / pyidh-26.11.0-py3-none-manylinux_2_28_x86_64.whl

Download URL pyidh-26.11.0-py3-none-manylinux_2_28_x86_64.whl
Size 26.4 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
5f20dc2dd247639788493e8ee818e63114b125e38454b771423994cd7bca4fe5
BLAKE2b-256 checksum
How to use checksums
df98dafb04a34975ad8d787afde95442d8d9f03b404c288db3cb73a7a6e6fd0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / pyidh-26.11.0-py3-none-manylinux_2_28_aarch64.whl

Download URL pyidh-26.11.0-py3-none-manylinux_2_28_aarch64.whl
Size 26.4 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
d4b6ad700ba50b4d34fb84bb18423506d24a1dfe9f13340723f1262e46efb2e7
BLAKE2b-256 checksum
How to use checksums
caecddd5b02280a521265d083478bea2702da1562ac09f99ff2de1e3a7e7b269
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Security for pyidh 26.11.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for pyidh-26.11.0-py3-none-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page