Python wrapper for Industry Data Hub (linux_aarch64)
Project description
PyIDH
Python wrapper for IDH (Industrial Data Hub) library.
Installation
-
Install Microsoft Visual C++ 2015-2022 Redistributable:
- 64-bit system: Download VC140 x64
- 32-bit system: Download VC140 x86
-
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ceb58a7ee4164471eff4529ebf2e7c745ac19e24c70bb55cd3844f566c83ff9b
|
|
| MD5 |
c50c5c2bfbd5e20da26e28130a138fc7
|
|
| BLAKE2b-256 |
929229d41052b18b1113783fcee9cef04286733ce079d19aab2d5d35750d80e3
|
Provenance
The following attestation bundles were made for pyidh-0.1.8-py3-none-win_amd64.whl:
Publisher:
build.yml on ymwang78/IndustryDataHub
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyidh-0.1.8-py3-none-win_amd64.whl -
Subject digest:
ceb58a7ee4164471eff4529ebf2e7c745ac19e24c70bb55cd3844f566c83ff9b - Sigstore transparency entry: 782796972
- Sigstore integration time:
-
Permalink:
ymwang78/IndustryDataHub@ebe18ba92d41d6d74b1af866157f29917f5e34ff -
Branch / Tag:
refs/tags/v0.1.8 - Owner: https://github.com/ymwang78
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@ebe18ba92d41d6d74b1af866157f29917f5e34ff -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyidh-0.1.8-py3-none-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pyidh-0.1.8-py3-none-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 4.4 MB
- Tags: Python 3, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d81b965c569d42ae52a7c2e3d07254f7b38823d2fdc1c88c44cf32a64be35bac
|
|
| MD5 |
dbea2e9614e0b98a705bfb432501ba18
|
|
| BLAKE2b-256 |
40cd4e5173a4b7cc7656d0c4cfc6d8c8b227b43a168ee991ecbac515f35c4c77
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyidh-0.1.8-py3-none-manylinux_2_28_x86_64.whl -
Subject digest:
d81b965c569d42ae52a7c2e3d07254f7b38823d2fdc1c88c44cf32a64be35bac - Sigstore transparency entry: 782796961
- Sigstore integration time:
-
Permalink:
ymwang78/IndustryDataHub@ebe18ba92d41d6d74b1af866157f29917f5e34ff -
Branch / Tag:
refs/tags/v0.1.8 - Owner: https://github.com/ymwang78
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@ebe18ba92d41d6d74b1af866157f29917f5e34ff -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyidh-0.1.8-py3-none-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: pyidh-0.1.8-py3-none-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 4.6 MB
- Tags: Python 3, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72a3ae700d735be6cb1c023fe11918743c21f29365db86be8013d5d206623ce7
|
|
| MD5 |
3ca47c55b8d6e6f349aded8e3cbb32fd
|
|
| BLAKE2b-256 |
31fbc4056576fb74bb26e852e412b25dd09af8d53729f4ce47bcdccb70481cc9
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyidh-0.1.8-py3-none-manylinux_2_28_aarch64.whl -
Subject digest:
72a3ae700d735be6cb1c023fe11918743c21f29365db86be8013d5d206623ce7 - Sigstore transparency entry: 782796968
- Sigstore integration time:
-
Permalink:
ymwang78/IndustryDataHub@ebe18ba92d41d6d74b1af866157f29917f5e34ff -
Branch / Tag:
refs/tags/v0.1.8 - Owner: https://github.com/ymwang78
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@ebe18ba92d41d6d74b1af866157f29917f5e34ff -
Trigger Event:
release
-
Statement type: