Skip to main content

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 MeterStream frame delivery;
  • bounded, latest-only XYSeriesStream delivery for complete [x, y] frames.

XYSeriesStream accepts a variable-length array of finite pairs, including an empty array. Each frame is atomic and only the newest complete frame is kept, so a slow chart cannot create a backlog or mix points from different frames.

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.1.1

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.1.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 muse-driver-framework 1.1.1
File Size Uploaded
muse_driver_framework-1.1.1.tar.gz 20.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for muse-driver-framework 1.1.1
File Interpreter ABI Platform
muse_driver_framework-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 40.9 kB

Release files / muse_driver_framework-1.1.1.tar.gz

Download URL muse_driver_framework-1.1.1.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9621c397438719f0e483f3d9b9d8f121a231441fe455f0c41212c5053c81228c
BLAKE2b-256 checksum
How to use checksums
f6bc8257b1dd2889522a82b9cd9dbfeca2a96d995a8e939e1a390656edaa00f4
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.1.1-py3-none-any.whl

Download URL muse_driver_framework-1.1.1-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
88523992f88439b18d7f3bb85dd7e8f0c52ad75617285b6840910690304c7768
BLAKE2b-256 checksum
How to use checksums
9439cfa8291594e78ea95ba4885903c37036090f5df319143fded564512fe1ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

1.1.4

2 release files

1.1.2

2 release files

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

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