Skip to main content

Python wrapper for Industry Data Hub (linux_aarch64)

Project description

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,
    support_subscribe=1
)

# 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pyidh-0.1.8-py3-none-win_amd64.whl (4.1 MB view details)

Uploaded Python 3Windows x86-64

pyidh-0.1.8-py3-none-manylinux_2_28_x86_64.whl (4.4 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

pyidh-0.1.8-py3-none-manylinux_2_28_aarch64.whl (4.6 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

File details

Details for the file pyidh-0.1.8-py3-none-win_amd64.whl.

File metadata

  • Download URL: pyidh-0.1.8-py3-none-win_amd64.whl
  • Upload date:
  • Size: 4.1 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyidh-0.1.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ceb58a7ee4164471eff4529ebf2e7c745ac19e24c70bb55cd3844f566c83ff9b
MD5 c50c5c2bfbd5e20da26e28130a138fc7
BLAKE2b-256 929229d41052b18b1113783fcee9cef04286733ce079d19aab2d5d35750d80e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyidh-0.1.8-py3-none-win_amd64.whl:

Publisher: build.yml on ymwang78/IndustryDataHub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyidh-0.1.8-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyidh-0.1.8-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d81b965c569d42ae52a7c2e3d07254f7b38823d2fdc1c88c44cf32a64be35bac
MD5 dbea2e9614e0b98a705bfb432501ba18
BLAKE2b-256 40cd4e5173a4b7cc7656d0c4cfc6d8c8b227b43a168ee991ecbac515f35c4c77

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyidh-0.1.8-py3-none-manylinux_2_28_x86_64.whl:

Publisher: build.yml on ymwang78/IndustryDataHub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyidh-0.1.8-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyidh-0.1.8-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 72a3ae700d735be6cb1c023fe11918743c21f29365db86be8013d5d206623ce7
MD5 3ca47c55b8d6e6f349aded8e3cbb32fd
BLAKE2b-256 31fbc4056576fb74bb26e852e412b25dd09af8d53729f4ce47bcdccb70481cc9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyidh-0.1.8-py3-none-manylinux_2_28_aarch64.whl:

Publisher: build.yml on ymwang78/IndustryDataHub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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