Skip to main content

Digital Multimeter

PyPi Python Versions Read the Docs License

Digital Multimeter provides both a CLI and Python API interface to receive data from a variety of digital multimeters.

See the list of supported multimeters here.

Features

  • Command line and Python module interface to digital multimeters
  • Continuous live data readings (using --count 0)
  • Output in json or csv formats
  • Output to console or file, allowing other tools to pickup and use the data
  • Configuration via config-file or environment-variables
  • Easy to expand for new digital-multimeter protocols
  • Easy installation using PyPI pip
  • Documentation and examples at digital-multimeter.readthedocs.io

Installation

user@computer:~$ pip install [--upgrade] digital-multimeter

CLI Usage Example

Continuously read the digital-multimeter and pipe the JSON output through jq to make the JSON output look prettier.

user@computer:~$ dmm read --connect /dev/ttyUSB0 --count 0 | jq .
{
  "reading": {
    "value": 156.70000000000002,
    "unit_name": "volts",
    "unit_symbol": "V",
    "scale": 0.001,
    "scale_name": "milli",
    "scale_symbol": "m",
    "scaled_value": 0.15670000000000003,
    "is_relative": false
  },
  "instrument": {
    "module": "MultimeterDigitechQM1538",
    "operation_mode": "voltage_dc",
    "low_battery": false,
    "is_hold": false
  },
  "time": {
    "elapsed": 0.349347334,
    "interval": 0.349347334,
    "timestamp": 1605936374.7694516,
    "unit_name": "second",
    "unit_symbol": "s"
  }
}

Python API Usage

Python-module documentation is available here.

Project


Copyright © 2021-2023 Nicholas de Jong

Metadata

Release files for digital-multimeter 0.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for digital-multimeter 0.5.3
File Size Uploaded Provenance Actions
digital_multimeter-0.5.3.tar.gz 15.0 kB Without provenance Details for digital_multimeter-0.5.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for digital-multimeter 0.5.3
File Interpreter ABI Platform Actions
digital_multimeter-0.5.3-py3-none-any.whl Python 3 none any Details for digital_multimeter-0.5.3-py3-none-any.whl

Total release size: 33.9 kB

Release files / digital_multimeter-0.5.3.tar.gz

Download URL digital_multimeter-0.5.3.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
35ce69696366be0b83b2092e91f3d25d4ca08b3750fde6cfcf4cb5aec80023b4
BLAKE2b-256 checksum
How to use checksums
d37d4b997d5d106eabae2001942d1415de242cb0afb9128e21b1aacb2bc4dc68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/35.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.13 tqdm/4.64.0 importlib-metadata/4.6.4 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.6

Release files / digital_multimeter-0.5.3-py3-none-any.whl

Download URL digital_multimeter-0.5.3-py3-none-any.whl
Size 18.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c32a1f1e73398b26e524c644a11594bb736494cfbe117634e3a6420054a4026f
BLAKE2b-256 checksum
How to use checksums
1a183a36acc59a6348c359569ffadb3c40736da27ceae9ed607c52b7183f9331
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/35.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.13 tqdm/4.64.0 importlib-metadata/4.6.4 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.6

Security for digital-multimeter 0.5.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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