Joulescope™ 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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 066d22703f845d39b0280c28346c2c5ed868bd00d1bf399cef0e2a1889f8760e |
|
MD5 | b06006dc57b1edefc2f3d74fc6457b13 |
|
BLAKE2b-256 | af47b7586c1ab150cd3bc6edaf5c3ef3c2c3fb42ee05f0cd690202a7454b5f97 |
Hashes for pyjoulescope_driver-1.0.6-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77ee071e6e46858370468580c6938aed47a43009bc4c8b11c0b6c48b13be243a |
|
MD5 | 0065c927119f01e74fab07fd51a99153 |
|
BLAKE2b-256 | d5a6a930a8e350f79850dae4bc24df09a6985872a334ee18b4aa3d3a00f1a2a2 |
Hashes for pyjoulescope_driver-1.0.6-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03677bd225464d92776fc4b8f837b1fcca0f005bb9d15dd73f52e95aec03bfef |
|
MD5 | 9bcc3d53693b7f30bcb2e2a52da219b7 |
|
BLAKE2b-256 | c8a2915406c1b7d390c2ebe311a1c11d57abb0ec56eaf90dff2a4ea3a0c7ccbf |
Hashes for pyjoulescope_driver-1.0.6-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b81a479ce8605dd3a0c6e13798c0db92690f6c82e6c0322d3eb398bbc07f0cfe |
|
MD5 | a31644633519ba7dcad933885411ec6e |
|
BLAKE2b-256 | ab865b736798bcab21465d7b6db0c7bf935cd96d1cb1c5d047ef87437d6a40bb |
Hashes for pyjoulescope_driver-1.0.6-cp310-cp310-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1a29bdfe763a231fd86b41b0735577e7520effd077a9df74fa9378974c96c81 |
|
MD5 | e12b119e43503c1fabca31a0afe35221 |
|
BLAKE2b-256 | ce9a1a4d7e3ad12d2ec297f891766c7aa2e97510cb9de8ab8bf6674ebfc7b844 |
Hashes for pyjoulescope_driver-1.0.6-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d554f01ae79ee8759fc930193aa2ec1971e329898d1ab1930f9bd4fe91f0b7e7 |
|
MD5 | 64c28f07849af91564732eec041acac5 |
|
BLAKE2b-256 | 9d0e4ff74fcb3bdce3eff45e2ed2564f305566c0ae56502fab91617ee05fe2fb |
Hashes for pyjoulescope_driver-1.0.6-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb2cd938dcadfb22d7789baf7254a30e1424ed848fc5b5611f374b3607377eb7 |
|
MD5 | a9b8ed08c91dc0734fd9dd58526b7897 |
|
BLAKE2b-256 | c264527995b367a0d00ef35d3b8b897e338d238f747e79511b05d707536cf60c |
Hashes for pyjoulescope_driver-1.0.6-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bc4945f6598cd64e1d333da1a62427b6e7c799a41a29e6c2480dfec583f2ece |
|
MD5 | aef5a88e00d34ff24b3bda45087bc226 |
|
BLAKE2b-256 | 708da08abd70edf5c467b8b6703344764951f7ed55bfd0a88e0899fb6ce9ec73 |