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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 397cd040b6bbb33e301a7a048e47d0eefbbe0f781370f9980184fa4c217d79c3 |
|
MD5 | d7f94c9e5663943514854af7eb530861 |
|
BLAKE2b-256 | b845fdcff8e56dab177e898350e486023a1b9a7b32af4cf33774465df8fcf176 |
Hashes for pyjoulescope_driver-1.3.9-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5bdff4f5aca8425c83ab99ea44132fc9c347528546c55d68285531f05afc615 |
|
MD5 | 9a31441bfb0db4878ece12b8552800f1 |
|
BLAKE2b-256 | 55f9eee830bd31adbb2a4c5988a522fa383c0b5ecd511fa26fe5bcb7d256e273 |
Hashes for pyjoulescope_driver-1.3.9-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d323d851d33c474d63a39ddce5c6f920f4f1ff19af2828e55650147cfae7bf93 |
|
MD5 | 314b51422be30246bb412f40de4832ba |
|
BLAKE2b-256 | c3c0255e529f9aec45abf76df32bf97b2ee0b0cc7e27b0ef6d248ff713da55f0 |
Hashes for pyjoulescope_driver-1.3.9-cp311-cp311-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 611e2d235ca0ca10c518ac8dc31b4cd85880b4d5cd011735ab158169151f6c43 |
|
MD5 | 50bc95b8d1cc33993183dbd7c56e3efe |
|
BLAKE2b-256 | 84ce2ecd81c289dac522feea5269179f581ed1710ae5418ae45e148959d3e1f8 |
Hashes for pyjoulescope_driver-1.3.9-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f582128811ba12a7ecb5ca1beea30d93ff4f5ab0be423eb774826456a0473c72 |
|
MD5 | f48e4b8bdc0f9fa9ea0358fefb7cfd9e |
|
BLAKE2b-256 | 4f6f5caf0d3754afa1419176a244c49147a305d19f685ff7080bcd152d0e98b7 |
Hashes for pyjoulescope_driver-1.3.9-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f81f4065863b3a764f28f04581348040e475caf1f64ade99396be0dd5e4d9f8 |
|
MD5 | c3fd84a39b4621542625ce58c72e3164 |
|
BLAKE2b-256 | 120612ac75cbb7192d3edc948701e9c6ad1e529f22f493359252742e113c00fd |
Hashes for pyjoulescope_driver-1.3.9-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cff578935bcbf5bf535f23b73bf70936b0d8166368440fb9772b91fc3afb1f5 |
|
MD5 | 024e795aa20f381a32f33c7a50aa08fe |
|
BLAKE2b-256 | 933e8ec2a8d69639c6786f0e5d0a9140441a57aad59e45fd2256ec2ce02b513c |