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-build
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
On Windows, you may be prompted to install the Microsoft C++ Build Tools.
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.3.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1188b2874f3a06e2fe1d2da125c5e01fad65f9f1e2d1c4a85369dd3873939e8 |
|
MD5 | 650cca465e6149882c9a71bf2432e477 |
|
BLAKE2b-256 | 5d67635c44419491476baa97eff56027a441a8c7d7d2497f87ebfa90bf8529db |
Hashes for pyjoulescope_driver-1.3.7-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e99e940619854014a7ef92e45d615aa3f13887e87a83aef3a0a4131d1cd7d12f |
|
MD5 | 72abe2a6ac7dd147d8afa587be32c397 |
|
BLAKE2b-256 | 87d72a095d0dae90e24c815c9c605f2cf158b144c5e38d5537e5588304af363d |
Hashes for pyjoulescope_driver-1.3.7-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f899f4ccd7c5073449bfa5961841542aeae5d2cfbdaf3187fd4adb4938a3c855 |
|
MD5 | 965bd08079a4ed4e587d144e4d1f5e09 |
|
BLAKE2b-256 | 7cb18ffd1746244becec31e9c5b138cec028b72c466f0ff47ccb5ab6ff3f6b8f |
Hashes for pyjoulescope_driver-1.3.7-cp311-cp311-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbc65cec6b7ef3e72a6ee66e2c69eed48dbcecc65213527b302c94ddc060e726 |
|
MD5 | b188b82cd9cb32b6beae69d123cf765c |
|
BLAKE2b-256 | 70bb11e6ecddeda25ff0de76bafcceec546185470753b933d8de0249fe309dc0 |
Hashes for pyjoulescope_driver-1.3.7-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb47ac76559a49466640fa0096ab06dcff7861fd9f1b0100b5c674d03cae5253 |
|
MD5 | 5feb2b95a35b02edf3fbb40e6f63da6b |
|
BLAKE2b-256 | 4bcfe03bc56823e316cd9d24ae9f4a2c328a5fc9ad6c6a1701fcf99b6a3570cf |
Hashes for pyjoulescope_driver-1.3.7-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a1ef0e39b401db40594cb03670c392f440fc9c5bbf81eebc11eecbeb0130589 |
|
MD5 | c708efaa80a8d3ebbb5003ee4af9ae64 |
|
BLAKE2b-256 | bed8a8b6a43057363d9eb895ce32eab6dd6a4cd16cdcdee36f8bfa38cb9d085f |
Hashes for pyjoulescope_driver-1.3.7-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aae77f92428f1252b5b5158b00fbc6de65739329bbb5df39db64d0e802aa98f9 |
|
MD5 | f2404f5c2c475161de04cf87af2ac442 |
|
BLAKE2b-256 | 712167009e989fd2316edeee69c14b280e1d353b6d924fa8a8488a66c0b8bfca |