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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4abb5754553b742f5f20eb6ad2de1a015216a9d415ec4b1e164b9af0e59c89b |
|
MD5 | 81fe7d22062365ebee8c865df10ad08a |
|
BLAKE2b-256 | 45358585e11275ad37c98a8d39627af1cc1894985a888dcd39e1f7a557c67303 |
Hashes for pyjoulescope_driver-1.3.10-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37cdeaa59c89719054072db57e1cbb73df63fbc078ce6d4b76db8a3f5c333e56 |
|
MD5 | f8a9de55462d2aca47bdff75a373c407 |
|
BLAKE2b-256 | ebb51dd831aae16adf2ecff3666377740f5f913dba1293b29028803daf0854cd |
Hashes for pyjoulescope_driver-1.3.10-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 458aa7b09b0454008d7f11e8d6025846262b2ced102632e1ddaf60bbd72f92a5 |
|
MD5 | f93cadfd5e5e395ccd119a75e7d36fb1 |
|
BLAKE2b-256 | d73fa211ae30cdfefa63a67ec66746a22aaeb722477c48adc233c13c52e32435 |
Hashes for pyjoulescope_driver-1.3.10-cp311-cp311-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f6ca765e3fabe15489e200d48395a6a1e4f168b2a4b9f7e4df380ad0e1344fe |
|
MD5 | 7374a976ea37fea9e14d2168204ab1c0 |
|
BLAKE2b-256 | b398f595f8fbb0fcd7a6ff9df939c32cafe9c277cd0f4ec8404d04914c3b2ebc |
Hashes for pyjoulescope_driver-1.3.10-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 648b29c1a695dd32f55c07996540655a031eb24301305b1479c154ce57b8a683 |
|
MD5 | 80c6ce480ca9770a5aa69a8945b700df |
|
BLAKE2b-256 | 1cf7639e0862ec29cec68338d9e9fc63f70be823a9b6af5f28cde693315a0580 |
Hashes for pyjoulescope_driver-1.3.10-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a439db90cb14c1377a075efb0ae9d2cd47ca9066093bbdc6e44a016f4568c289 |
|
MD5 | 54120ede3c495dcf96b2d027d6e59292 |
|
BLAKE2b-256 | 57f63659a4893d5ac72bafde3b46cf489894d54b8badc837a918d0354279295a |
Hashes for pyjoulescope_driver-1.3.10-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0128df8096b3065015cb58883b072d319d9685470dc7a3ff89632ec0e687bcde |
|
MD5 | 2e0f40adae6be6f01aa0b18937503775 |
|
BLAKE2b-256 | 3fc702dcb4ad2e9e38fe6275038a66856433bc315e714ca7d2b02b8527514b12 |