Skip to main content

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

miniware_mdp_control-0.1.0.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

miniware_mdp_control-0.1.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

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

Hashes for miniware_mdp_control-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6bd3ceb16043485e72375197ac6d2bbf909f2543e2e2c21dc62cbd8c8a29d36d
MD5 e1322fb7963324ea93a00ec70b9a4e32
BLAKE2b-256 41b78a8199c1a6e3a9ca172bfd662dd9cb731099613067224003630054c9eecc

See more details on using hashes here.

File details

Details for the file miniware_mdp_control-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for miniware_mdp_control-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44d2e434b3539e2c81ebcc6d3eb6d17c613d21744c4773618f18d1bbe6f48266
MD5 9868103aff8089c5024d873b068bce30
BLAKE2b-256 b8cfa3f9f49ea8a22a47c72f7d1fb9157845d9f56a832ca37a159211d5cbacf4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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