Python runtime (protocol, client, server core) for devman-gen generated device-manager bridges
Project description
devman-runtime
Python runtime library for bridges generated by devman-gen.
devman-gen is a language-agnostic generator that wraps a device-control
library (e.g. caen_libs for CAEN HV crates) in a client/server pair with
resource-ownership management. This package is the Python-side runtime that
those generated packages import, so runtime fixes reach every bridge through
a normal dependency upgrade instead of regeneration.
Contents
devman_runtime.protocol— length-prefixed JSON over TCP.devman_runtime.client—ManagerClient: sessions,acquire/releaseresource ownership,invoke, link-group registration (set_link_groups/list_link_groups).devman_runtime.server—ManagerCoreandserve_manager: request dispatch with ownership enforcement, device lifecycle/periodic hooks,TripWatchdog(powers off linked partners when a channel trips, with lease-based stale-group janitoring).devman_runtime.db— SQLite-backed ownership and link-group registry.
Server features
trip_watchdog_interval/--trip-watchdog-interval: poll registered link groups and power off partners of a tripped channel, even when the registering client is offline.client_lease_sec/--client-lease-sec: any authenticated request renews a client lease; groups of lease-expired clients are janitored when all their channels are off, and kept protected while energized.- Periodic hook (
periodic_file/periodic_function+periodic_interval_sec): run a user callback on an interval with access to the device singleton.
This package is used by, e.g., caenhv-devman-client.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 devman_runtime-0.1.0.tar.gz.
File metadata
- Download URL: devman_runtime-0.1.0.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a92fa4c9573f4986e2dc81adf6eafe35b1c552a9ed829e7e0ca668c7458ff38d
|
|
| MD5 |
80a8f6f202d9351c5fbd642ce81a03ff
|
|
| BLAKE2b-256 |
ebcb7a976a41ddc938ed96258afd3878ada3b398230dbdde22e52591e20e2c4d
|
Provenance
The following attestation bundles were made for devman_runtime-0.1.0.tar.gz:
Publisher:
publish.yml on kenji0923/devman-runtime
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
devman_runtime-0.1.0.tar.gz -
Subject digest:
a92fa4c9573f4986e2dc81adf6eafe35b1c552a9ed829e7e0ca668c7458ff38d - Sigstore transparency entry: 2074503530
- Sigstore integration time:
-
Permalink:
kenji0923/devman-runtime@5556fe02d525286387ca230121860883a14c82f4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/kenji0923
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5556fe02d525286387ca230121860883a14c82f4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file devman_runtime-0.1.0-py3-none-any.whl.
File metadata
- Download URL: devman_runtime-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fea4abe8ddf0c4fb256071220acba5bee6137b2592b1da2b14555e6c12d9df0
|
|
| MD5 |
44c53a06b5e7caed793e5f4989f9e8a3
|
|
| BLAKE2b-256 |
5838bb1cb36a9a93a8f24804909773f07da886753a91199458ccbc490709cdb4
|
Provenance
The following attestation bundles were made for devman_runtime-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on kenji0923/devman-runtime
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
devman_runtime-0.1.0-py3-none-any.whl -
Subject digest:
3fea4abe8ddf0c4fb256071220acba5bee6137b2592b1da2b14555e6c12d9df0 - Sigstore transparency entry: 2074503543
- Sigstore integration time:
-
Permalink:
kenji0923/devman-runtime@5556fe02d525286387ca230121860883a14c82f4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/kenji0923
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5556fe02d525286387ca230121860883a14c82f4 -
Trigger Event:
push
-
Statement type: