New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

voltcraft

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

voltcraft

library for controlling Voltcraft PPS power supplies

Source
pipPyPI
Version
1.7.1
Maintainers
1

voltcraft.pps

PyPI PyPI - Downloads MIT license GitHub issues Github Sponsors

Python module for controlling Voltcraft PPS and DPPS powersupplies.
Available at www.conrad.com (PPS) and www.conrad.com (DPPS)

from voltcraft.pps import PPS

supply = PPS(port="/dev/ttyUSB0", reset=True)  # in Windows change string to COMx (eg COM4)

supply.voltage(10.0)
supply.current(2.0)
supply.output(1)

Install via:

pip install voltcraft

There's no documentation, but the module is tiny, so please just read the voltcraft/pps.py :sparkling_heart:

It is also possible to use this module as a command-line tool

$ py -m voltcraft COM3
MODEL=DPPS3230
IMAX=31.5
VMAX=32.2
IMULT=10.0
limits=(32.2, 31.5)
reading=(14.01, 2.13, 'CV')

$ py -m voltcraft COM3 off

$ py -m voltcraft COM3 read
reading=(3.14, 0.0, 'CV')

$ py -m voltcraft COM3 read
reading=(1.7, 0.0, 'CV')

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts