Skip to main content

Toolbit library

Project description

Toolbit library for Python

The target device of this library is Toolbit DMM, Digital Multi Meter, that is used with PC to measure DC voltage or current.

Installation

The toolbit-lib package is published to the PyPI repository. Please install it as follows as:

Ubuntu linux

  sudo apt install libudev-dev
  pip3 install toolbit-lib

macOS

  pip3 install toolbit-lib

Windows

  pip3 install toolbit-lib

Raspberry Pi

  sudo apt install libudev-dev
  pip3 install toolbit-lib

Usage

Example

from toolbit import Dmm

dmm = Dmm()
dmm.open()
print(str('%03.3f' % dmm.getVoltage()) + " [V]")
print(str('%03.3f' % (1000.0 * dmm.getCurrent())) + " [mA]")

Build

The following software is required to build toolbit-lib from source code:

Ubuntu linux, macOS, Rasberry Pi

  cd bindings/python/toolbit-lib
  make
  sudo make install

Windows

  cd bindings/python/toolbit-lib
  build.bat
  python setup.py install

License

[GPLv2] Please refer to the LICENSE file in this repository

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

toolbit-lib-0.0.6.tar.gz (96.0 kB view details)

Uploaded Source

Built Distributions

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

toolbit_lib-0.0.6-cp38-cp38-win32.whl (101.7 kB view details)

Uploaded CPython 3.8Windows x86

toolbit_lib-0.0.6-cp37-cp37m-macosx_10_14_x86_64.whl (137.1 kB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

File details

Details for the file toolbit-lib-0.0.6.tar.gz.

File metadata

  • Download URL: toolbit-lib-0.0.6.tar.gz
  • Upload date:
  • Size: 96.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

File hashes

Hashes for toolbit-lib-0.0.6.tar.gz
Algorithm Hash digest
SHA256 de878b1887b9214c5ccc5d54c6d64f7a0dd0e27968d2748097c8e989975e48e4
MD5 18eb0d885fdae7060657484982243272
BLAKE2b-256 f0cab2fd2cd746c56ff3fac5ab83a5f1c52feccf4d550d3097a03bd16b0f1139

See more details on using hashes here.

File details

Details for the file toolbit_lib-0.0.6-cp38-cp38-win32.whl.

File metadata

  • Download URL: toolbit_lib-0.0.6-cp38-cp38-win32.whl
  • Upload date:
  • Size: 101.7 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

File hashes

Hashes for toolbit_lib-0.0.6-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 f16125bd7699b25c92cf064bdfa6cb1b618d2f55df56a8e63e2315536ad484a7
MD5 98aa9a319f6f1d48be2bd42646cb8d1a
BLAKE2b-256 a9b83ddd6a33268ef9b69bde14adcc37d8d3845c28d3dc190e9777321260e763

See more details on using hashes here.

File details

Details for the file toolbit_lib-0.0.6-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: toolbit_lib-0.0.6-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 137.1 kB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6

File hashes

Hashes for toolbit_lib-0.0.6-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8186b2c56762198148e1c271af66759ccf044e0b807a281c6d75458eeb98f741
MD5 c8084d81eb1b092d7852d6e70ebb444b
BLAKE2b-256 074af1b5c11c4a369ec6950938ed768c0992b34a156adfebd142249177aa303f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page