pydevmgr package dedicated for generic client communication with OPC-UA.
The documentation is in progress.
One may be interested to higher level package such as
Python package to by used as substitute of a real device manager running in a ELT-Software environment when the full ELT-Software environment cannot be used.
Sources are here
Install
> pip install pydevmgr_ua
Basic Usage
from pydevmgr_ua import UaRpc, UaNode, UaCom
from pydevmgr_core.nodes import InsideInterval
import time
com = UaCom(address="opc.tcp://192.168.1.11:4840", prefix="MAIN")
target = 7.0
move = UaRpc( com=com, suffix="Motor1.RPC_MoveAbs", arg_parsers=[float, float])
pos = UaNode( com=com, suffix="Motor1.stat.lrPosActual" )
test = InsideInterval( node = pos, min=target-0.1, max=target+0.1 )
try:
com.connect()
move.call( 7.0, 1 )
while not test.get():
time.sleep(0.1)
print( "posisiotn is", pos.get() )
finally:
com.disconnect()
Metadata
Release files for pydevmgr-ua 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pydevmgr_ua-0.6.0.tar.gz | 11.0 kB | Without provenance | Details for pydevmgr_ua-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydevmgr_ua-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for pydevmgr_ua-0.6.0-py3-none-any.whl |
Total release size: 25.2 kB
Release files / pydevmgr_ua-0.6.0.tar.gz
| Download URL | pydevmgr_ua-0.6.0.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
231fcc26a3eb257062c6ec520f6049b05786abe1428bd0f6081685ded2eb096e
|
|
BLAKE2b-256 checksum How to use checksums |
539540ec92f47b26ccc1e5d41aaad7b5adef15ac223864fe3aaf171598a40f78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.5
|
Release files / pydevmgr_ua-0.6.0-py3-none-any.whl
| Download URL | pydevmgr_ua-0.6.0-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c6662343eb893f4540792e1e2a1e9a007a46d6ffe43a03ca56e4cf133b8e22f
|
|
BLAKE2b-256 checksum How to use checksums |
ec3efe48924069cc3cb9b9bc8539fc8172bb9e77eb30b98ca3ca6a59b9f67401
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.5
|
Security for pydevmgr-ua 0.6.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.