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

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.0
File Size Uploaded
muse_driver_framework-1.1.0.tar.gz 20.0 kB Details

Built distribution (wheel)

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

Total release size: 39.8 kB

Release files / muse_driver_framework-1.1.0.tar.gz

Download URL muse_driver_framework-1.1.0.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9227ce48642154a02ad00d39b4ea37f80fdbdb6392ba4af805c13c118a6557c1
BLAKE2b-256 checksum
How to use checksums
af978c9527c37b5e55dca08fbe3ab5602f3eb927baad989a3e8a9282c9695439
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.0-py3-none-any.whl

Download URL muse_driver_framework-1.1.0-py3-none-any.whl
Size 19.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0666a35742fcc60cb6f8363a3a93f62d3f13deffcce8f0840d222b7a1bc9c31
BLAKE2b-256 checksum
How to use checksums
2f916aab182588f6f6322405ce54806684dbec20121d432506d02ea6ec745bdd
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

1.1.1

2 release files

This release

1.1.0 This release

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