=?utf-8?q?Joulescope=E2=84=A2_driver?=
Project description
Joulescope Driver
Welcome to the Joulescope™ Driver project. Joulescope is an affordable, precision DC energy analyzer that enables you to build better products.
This user-space C library communicates with Joulescope products to configure
operation and receive data. The first-generation driver introduced in 2019 was
written in Python. While Python proved to be a very flexible language enabling
many user scripts, it was difficult to support other languages.
This second-generation driver launched in 2022 addresses several issues
with the first-generation python driver including:
- Improved event-driven API based upon PubSub for easier integration with user interfaces and other complicated software packages.
- Improved portability for easier language bindings.
- Improved performance.
Building
Ensure that your computer has a development environment including CMake.
Windows
Install cmake and your favorite build toolchain such as Visual Studio, mingw64, wsl, ninja.
macOS
For macOS, install homebrew, then:
brew install pkgconfig python3
Ubuntu 22.04 LTS
For Ubuntu:
sudo apt install cmake build-essential ninja
Common
cd {your/repos/joulescope_driver}
mkdir build && cd build
cmake ..
cmake --build . && ctest .
This package includes a command-line tool, jsdrv_util:
jsdrv_util --help
jsdrv_util scan
Python bindings
The python bindings are made to work with Python 3.9 and later. To install the dependencies:
cd {your/repos/joulescope_driver}
pip3 install -U requirements.txt
You should then be able to build the native bindings:
python3 setup.py build_ext --inplace
And run the Python development tools:
python3 -m pyjoulescope_driver --help
python3 -m pyjoulescope_driver scan
python3 -m pyjoulescope_driver ui
You may optionally choose to use a Python virtual environment.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for pyjoulescope_driver-1.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f947657f6fe6dee68246f643220c2abdf139bffcde90821742cfc900e8db615 |
|
MD5 | ae8af6d9b76a734629a4432feb1a7ba4 |
|
BLAKE2b-256 | 66d8999be0d3bff0db0d3a4484e589f62252de1a5ea6526beb441f3dd7ad4ec2 |
Hashes for pyjoulescope_driver-1.0.7-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15b0b591038a6b872f660339598a263e699d7d095c52ba3a4ee8193f3ea83788 |
|
MD5 | 34db82e2f9fb8b8011133016d7de12e2 |
|
BLAKE2b-256 | 0f18b79ead8a946e91d49f04d1db0f831a6107022654a125f15e8024dff491a2 |
Hashes for pyjoulescope_driver-1.0.7-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a4c4cbf0eea384908fdb665ba1fe19d497e6c333a80c613c909fa88c431fcc3 |
|
MD5 | 9a1c2288c6c3a992d8a13a90b35949a7 |
|
BLAKE2b-256 | 42f5b7c79b652e5826ac046f32de12ad7e1b1c34e5eab5f1026ef5afa8f0525e |
Hashes for pyjoulescope_driver-1.0.7-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc7265a674ef61d0123b1a7fb573336ff5f2efdf6adc8662b18d65664be4647c |
|
MD5 | 1f006d885b3e61852ab7c47a7a2451ac |
|
BLAKE2b-256 | 54c9aedcd64ad3a17d8a4cf964fadfd891c1c7b58141bf6b689a1bf7ec742252 |
Hashes for pyjoulescope_driver-1.0.7-cp310-cp310-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc6100b140021456cfc08bb13c714eac0a0a1e8a9728fe469c25cb2a1f1f9397 |
|
MD5 | d1891cf38b4290428013b2a6ead52242 |
|
BLAKE2b-256 | 2d43fdf5621ef54342bbf30dee42313c232b4faa727ef609552bc3f335cde404 |
Hashes for pyjoulescope_driver-1.0.7-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36634e36e41db9fd3f2b2100d51201365d6793eafe7f435b9179556b77f01a96 |
|
MD5 | bf3cd5024a611413f667ddebcb7242fc |
|
BLAKE2b-256 | 2ffab781feb27146b3d25f48341580e44ec2012a5fd638f07e0510d46764371c |
Hashes for pyjoulescope_driver-1.0.7-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d424ef4507008d2afcfb9fc0b2598a23c38d11846ff8a2b233a522002507b53 |
|
MD5 | 5e552f3b02d61bea05d7d67a1dcb22c6 |
|
BLAKE2b-256 | 5b4c479b6eab861beb9d645d45b4c1ff97198d0fb1a869ad213f7083a3ba6fc4 |
Hashes for pyjoulescope_driver-1.0.7-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a08f9f5c5ffbbf1d1fa1d731f68aabf8f09f5cf5dd1b6f7274e759994758d16c |
|
MD5 | e225e393eea0403052931b7a9c8fd41e |
|
BLAKE2b-256 | 5ca809919d54eb143069cf853cfd643a37dc1b9109080e69f3641cefa8111dd9 |