DBX DriveRack client for Python
This module provides a Python client library for discovering, connecting to, reading values from, and controlling aspects of a dbx DriveRack® loudspeaker management system device.
Presently, only the DriveRack PA2 model is supported.
Requirements
-
Python (>= 3.11)
- Other dependencies are specified within the project files for automatic installation by a package manager, such as pip.
-
A compatible DriveRack hardware unit:
- DriveRack PA2 (firmware version 1.2.0.1)
-
Network connectivity between this client and the device.
- Both must be on the same IPv4 subnet for discovery to work.
Getting started
Install
pip install dbxdriverack
Discover online DriveRack devices
import dbxdriverack.pa2 as pa2
with pa2.PA2() as drack:
devices = drack.discoverDevices()
print(devices)
Connect and mute all outputs
import dbxdriverack.pa2 as pa2
with pa2.PA2() as drack:
address = "192.168.1.100" # or use discovery to find
drack.connect(address)
drack.bulkMute(dr.CmdMuteAll)
Examples
See the docs/examples/ directory for examples of each DriveRack feature.
Documentation
Module documentation, including functions and constants, is available here.
Limitations
At this time, only the DriveRack PA2 is supported. I simply do not own any other models, such as the VENU360, to develop and test with.
This is intended to be used for one-shot or bulk automated operations on a DriveRack, for example, getting or changing particular settings at a point in time. It is not designed to be connected to a device long-term and used interactively. While the DriveRack (and its native clients) do support realtime parameter change tracking via subscriptions, this module does not (and does not plan to) support these subscriptions. Furthermore, the default timeout values in this module may make even issuing commands manually in an interactive Python session difficult.
Contributing
Any DriveRack PA2 users are encouraged to test this module and provide bug reports or code contributions. I am seeking anyone with other DriveRack models (such as the VENU360) to help develop support for this and other devices.
Acknowledgements
dbx, DriveRack®, and other brand names are trademarks of Harman International Industries, Inc., a subsidiary of Samsung Electronics Co., Ltd.
This project is not affiliated with or endorsed by any of these companies, and the use of their trademarks is for identification purposes only.
Metadata
Release files for dbxdriverack 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dbxdriverack-0.0.4.tar.gz | 35.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dbxdriverack-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 79.1 kB
Release files / dbxdriverack-0.0.4.tar.gz
| Download URL | dbxdriverack-0.0.4.tar.gz |
|---|---|
| Size | 35.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5e6328c37687a9312ceb0787ae37ceb85d5c58a8862ca423c0e265e15c470be
|
|
BLAKE2b-256 checksum How to use checksums |
c725f99cfba17e444a83dea1616b5413908829f52893469392db3931b7c8d5a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.13.0
|
Release files / dbxdriverack-0.0.4-py3-none-any.whl
| Download URL | dbxdriverack-0.0.4-py3-none-any.whl |
|---|---|
| Size | 44.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19948225c4e7470f22c46c66523e2b4f8ad160bba672c39f941b41add6a6b74d
|
|
BLAKE2b-256 checksum How to use checksums |
9397c87428ad35f57986446a06dc32584f560ecad9cab26941d55f4ee9486307
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.13.0
|