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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f59b4f0bfae3935eb132507e21f6dc6687796a9103e37ec52e125b80d5aa9781 |
|
MD5 | 6925944116368b918b8a3fb8b7ce0ecb |
|
BLAKE2b-256 | 081cc46a81c9203ca7fd7cb7e52bc957f7a153dad58d3abf51babd3be4f15a6a |
Hashes for pyjoulescope_driver-1.3.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | caf199a8a857697aa044f3b9fee30c1f7103beb79da484dd3cf432258d5f7787 |
|
MD5 | 62d2d9d95363be6aa4d0dad3a46c38d0 |
|
BLAKE2b-256 | b86ccdc1be0894642741b65cbf0437c123f698de4483309f9fcb26ee3281b37a |
Hashes for pyjoulescope_driver-1.3.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3999a04e911b291ca351a245e2943ff72b576c146024694cf6adc0e8e3430b25 |
|
MD5 | 02aabd4ea89bd131064b0987f4e81cfc |
|
BLAKE2b-256 | b4e57ccc3ed55486ae6b52ef379c30d80c4824b58a7e80b45b12957f2b76e31b |
Hashes for pyjoulescope_driver-1.3.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dea3e0b8823b2860592bd6954a1acc1d85e5a6816687ef711d0b19586f7887d |
|
MD5 | a6549048ba1ccc9180801165c9879c55 |
|
BLAKE2b-256 | 25b43ba27fcccd14c224b8a52cd137d35fcf008965b89dd93cad00dda4730856 |
Hashes for pyjoulescope_driver-1.3.1-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbccb20c22e585f45fcb889405694041953c7e2648af1b032b65ca728a937a46 |
|
MD5 | 5fc3596d0b28b61df0294f8634796239 |
|
BLAKE2b-256 | 17ab542f53b9791dfbead00cb407dba26f5f5641609eeb6131dd43aa2a9a0dbb |
Hashes for pyjoulescope_driver-1.3.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86f7aabb167e0329ea138052fb2afa11b65d659e8266038dca1b07f09e56c6da |
|
MD5 | d12bc90c93b6a431de01bb978e191c14 |
|
BLAKE2b-256 | 9ec1427dfe46f247b32ac1c7a4e4265ef9fc277b999ce67d8d04e73f78aa8425 |
Hashes for pyjoulescope_driver-1.3.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4d57e4960a01bed78934c3f324c43494448745936782cd9dcbffcfcaf2f4fc0 |
|
MD5 | 790a63240e6c3b2e161431cac792aed0 |
|
BLAKE2b-256 | 8056d428b4d05cfeab110038296415065dd82a5b9850f7dd3e27dabcc05ac461 |
Hashes for pyjoulescope_driver-1.3.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc5d5c0e3292a2219d4de2f71ed08465ed1902d7ab3422586d14506d13043762 |
|
MD5 | 0fc4227f49ec92f01b7554914d906369 |
|
BLAKE2b-256 | 6c242c413a0f44bba1cf598d3682c378816646f243083587828041aae9088a41 |