Miniware MDP-M01 Python control
Control paired Miniware MDP-P906 power supplies through a USB-connected MDP-M01.
python3 -m pip install miniware-mdp-control
Command line
mdp-control status
mdp-control ch1 9V 750mA on
mdp-control ch1 off
mdp-control ch1 9V 750mA on ch2 5V 1A on ch3 off
Actions are case-insensitive and may appear in any order within a channel clause. A command containing on may
energize connected hardware.
Python API
from mdp_control import ChannelCommand, MDPController
with MDPController() as mdp:
status = mdp.apply(ChannelCommand(1, voltage=9.0, current=0.75, output=True))
print(status.channels[0])
The complete documentation is maintained in the mdp_control module docstring. View it from the command line or
through Python's documentation tool:
mdp-control --help
python3 -m pydoc mdp_control
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 miniware_mdp_control-0.1.0.tar.gz.
File metadata
- Download URL: miniware_mdp_control-0.1.0.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bd3ceb16043485e72375197ac6d2bbf909f2543e2e2c21dc62cbd8c8a29d36d
|
|
| MD5 |
e1322fb7963324ea93a00ec70b9a4e32
|
|
| BLAKE2b-256 |
41b78a8199c1a6e3a9ca172bfd662dd9cb731099613067224003630054c9eecc
|
File details
Details for the file miniware_mdp_control-0.1.0-py3-none-any.whl.
File metadata
- Download URL: miniware_mdp_control-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44d2e434b3539e2c81ebcc6d3eb6d17c613d21744c4773618f18d1bbe6f48266
|
|
| MD5 |
9868103aff8089c5024d873b068bce30
|
|
| BLAKE2b-256 |
b8cfa3f9f49ea8a22a47c72f7d1fb9157845d9f56a832ca37a159211d5cbacf4
|