digital-multimeter-0.4.0
توضیحات
Digital Multimeter provides both a CLI interface and a Python3 library interface to receive data from a variety of digital multimeters.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | digital-multimeter-0.4.0 |
| نام | digital-multimeter |
| نسخه کتابخانه | 0.4.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Nicholas de Jong |
| ایمیل نویسنده | contact@nicholasdejong.com |
| آدرس صفحه اصلی | https://digital-multimeter.readthedocs.io/ |
| آدرس اینترنتی | https://pypi.org/project/digital-multimeter/ |
| مجوز | BSD2 |
# Digital Multimeter
[](https://pypi.python.org/pypi/digital-multimeter/)
[](https://github.com/ndejong/digital-multimeter/)
[](https://digital-multimeter.readthedocs.io)

Digital Multimeter provides both a command-line interface and a Python module interface to receive data from a
variety of digital multimeters. Checkout the [list of supported multimeters](https://digital-multimeter.readthedocs.io/en/latest/docs/supported-multimeters).
## 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`
* Plenty of documentation and examples - https://digital-multimeter.readthedocs.io
## Installation
```shell
user@computer:~$ pip3 install digital-multimeter
```
## Command Line Usage
Continuously read the digital-multimeter and pipe the JSON output through `jq` making it look prettier.
```shell
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"
}
}
```
Plenty more command-line examples [available here](https://digital-multimeter.readthedocs.io/en/latest/docs/command-line/examples/).
## Python Module Usage
Python-module documentation is [available here](https://digital-multimeter.readthedocs.io/en/latest/docs/python-module/).
## Project
* Github - [github.com/ndejong/digital-multimeter](https://github.com/ndejong/digital-multimeter)
* PyPI - [pypi.python.org/pypi/digital-multimeter](https://pypi.python.org/pypi/digital-multimeter/)
* ReadTheDocs - [digital-multimeter.readthedocs.io](https://digital-multimeter.readthedocs.io)
---
Copyright © 2021-2022 [Nicholas de Jong](https://www.nicholasdejong.com)
نیازمندی
| مقدار | نام |
|---|---|
| - | click |
| - | pyserial |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.5.0,<4.0.0 | Python |
نحوه نصب
نصب پکیج whl digital-multimeter-0.4.0:
pip install digital-multimeter-0.4.0.whl
نصب پکیج tar.gz digital-multimeter-0.4.0:
pip install digital-multimeter-0.4.0.tar.gz