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.8.1

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.8.1
File Interpreter ABI Platform
pyidh-26.8.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
pyidh-26.8.1-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details
pyidh-26.8.1-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details

Total release size: 53.2 MB

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

Download URL pyidh-26.8.1-py3-none-win_amd64.whl
Size 4.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
80e031455b767d7e2b4d31d42f25198082f11d80be275e498f87d37d4be3c24d
BLAKE2b-256 checksum
How to use checksums
e1be0602851c744becb5cb27a4581f4decfdb9ce43211cee48a9d00d932fc7be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 18, 2026.

Transparency log

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

Download URL pyidh-26.8.1-py3-none-manylinux_2_28_x86_64.whl
Size 24.5 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
32aa17caf3bcb4663ca57530f33730310fd6c37aabebcf62fa283918d735b615
BLAKE2b-256 checksum
How to use checksums
2b402c850c0ec4f670d69b377a85f349acae90731614552a1f0a9eb1ed5992cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 18, 2026.

Transparency log

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

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

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 Aug 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

26.8.1 This release

3 release files

26.6.1

3 release files

26.6.0

3 release files

0.2.2

3 release files

0.2.1

3 release files

0.2.0

3 release files

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