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
)

# 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.2.2-py3-none-win_amd64.whl (4.1 MB view details)

Uploaded Python 3Windows x86-64

pyidh-0.2.2-py3-none-manylinux_2_28_x86_64.whl (24.0 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

pyidh-0.2.2-py3-none-manylinux_2_28_aarch64.whl (24.1 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

File details

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

File metadata

  • Download URL: pyidh-0.2.2-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.12

File hashes

Hashes for pyidh-0.2.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 25a00e5ae29caa185525c985309be6ccd29abdb768017139fef7e87a64dd00f5
MD5 aeb5ddbbf308457d25d382f46973056f
BLAKE2b-256 9f6fcc5d03304d949a4c4b53919dd65d93b9dcb0f49c8074b765159fd07791aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyidh-0.2.2-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.2.2-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyidh-0.2.2-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fc0c3d218ffed507682d3045fe564d745fd82fa29a09900774608e121eacfd75
MD5 2f72aa3d40941ce680209e6535084f34
BLAKE2b-256 ddcf7b8f356b54a2e43a78a2ef8ff44b16f216c026bb696c61c961b6cf82d75f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyidh-0.2.2-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.2.2-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyidh-0.2.2-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d4d937803ea7940f6211581c0d3831b32ab088d7e5da1c8ef46df52e51124ecb
MD5 9ee26db93c43ebd26d773257ae901ddf
BLAKE2b-256 01a15a70b882a67bd57bdda0a05770e4d70c3f2f78978e1a188f2417a1aadd63

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyidh-0.2.2-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