muse-driver-framework
Shared pure-Python runtime framework for AMX MUSE Script-as-Device programs.
The package contains the transport-independent pieces shared by the Precis Driver and Meter Validation programs:
- asynchronous TCP connection lifecycle and reconnect handling;
- descriptor control registry and control type inference;
- bounded, latest-only
MeterStreamframe delivery.
It has no third-party runtime dependencies and supports the Python 3.10 runtime used by current MUSE firmware.
Runtime use in MUSE
Each Script-as-Device program declares the exact framework version in its own
requirements.txt:
muse-driver-framework==1.0.0
The program imports the package, never a copied local driver_framework.py:
from muse_driver_framework import AsyncTcpDeviceClient, AsyncTcpDeviceManager
MUSE must have internet access when it installs the requirements file. Keep the version exact so a framework release cannot silently change an existing driver.
Local verification
Build and install the wheel into an isolated environment before testing a driver. The driver directories should not contain a local framework copy.
Metadata
Release files for muse-driver-framework 1.0.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 | |
|---|---|---|---|
| muse_driver_framework-1.0.0.tar.gz | 18.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| muse_driver_framework-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.8 kB
Release files / muse_driver_framework-1.0.0.tar.gz
| Download URL | muse_driver_framework-1.0.0.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0dbbc2519d9945e0dde29a4858387d37c4c22b62b473b8f49f4ee92af6d3c8b0
|
|
BLAKE2b-256 checksum How to use checksums |
40a516af809fe1edcc5ecd3a4bb455a7134d6fd4e305e6bad3476a4afd804d6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / muse_driver_framework-1.0.0-py3-none-any.whl
| Download URL | muse_driver_framework-1.0.0-py3-none-any.whl |
|---|---|
| Size | 18.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
496a70fae939c0646e41927e5a67d3d7b1822b8d1ae33b94bddd38f4115eaf6b
|
|
BLAKE2b-256 checksum How to use checksums |
0cbc7e0b1dd03aecf01a92c4613d3157f2437fe80f620eafee596f5c09b57128
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|