Skip to main content

This python package is used as a core engine for any pydevmgr high level package.

The documentation is on its way, but 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_core 

Basic Usage

pydevmgr_core is not indented to be used directly but used by other pydevmgr related package as a core engine.

For usage here is an example using pydevmgr_ua to access an OPC-UA node :

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", args_parser=[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()

Or using the highest level dedicated for ELT devices:

from pydevmgr_elt import Motor, wait
m1 = Motor('motor1', address="opc.tcp://192.168.1.11:4840", prefix="MAIN.Motor1")
try:
    m1.connect()    
    wait(m1.move_abs(7.0,1.0), lag=0.1)
    print( "position is", m1.stat.pos_actual.get() )
finally:
    m1.disconnect()

Metadata

Release files for pydevmgr-core 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pydevmgr-core 0.6.1
File Size Uploaded Provenance Actions
pydevmgr_core-0.6.1.tar.gz 74.5 kB Without provenance Details for pydevmgr_core-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pydevmgr-core 0.6.1
File Interpreter ABI Platform Actions
pydevmgr_core-0.6.1-py3-none-any.whl Python 3 none any Details for pydevmgr_core-0.6.1-py3-none-any.whl

Total release size: 166.1 kB

Release files / pydevmgr_core-0.6.1.tar.gz

Download URL pydevmgr_core-0.6.1.tar.gz
Size 74.5 kB
Tags Source
SHA-256 checksum
How to use checksums
113d8c2f68837585b57612c0d5da6d89adb7fa6ffe97869f982582722bd135fe
BLAKE2b-256 checksum
How to use checksums
12547e749b09b9265f29fed44a7aae1cb39a1fa88c20b491e21e6cb37a276c51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.5

Release files / pydevmgr_core-0.6.1-py3-none-any.whl

Download URL pydevmgr_core-0.6.1-py3-none-any.whl
Size 91.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9abf06dc32a6feddb7e4c52523a185f7515f16462e9855b328d44324d7b4834d
BLAKE2b-256 checksum
How to use checksums
59fa3b3b13f3040678efca7fe6b1623eda6c0c58c7d7aacd334e7c3a6b2a082b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.5

Security for pydevmgr-core 0.6.1

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.

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