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.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8348bfc2ae7f240e72a663ca16943bca8fa0f17909c24f9e823aa9ed1a2fab3a |
|
MD5 | 8a24ad300a6c01db857e9993c4c698fa |
|
BLAKE2b-256 | 55d9fbd8824efe6fc63ff27daad1ec4f1a6a95fdf3667ded60320f98ffe7da2a |
Hashes for pyjoulescope_driver-1.1.3-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 067ce0bd484164d8c5c8ce72a01f14c1eaa52b742f536eb50958b46224b4a755 |
|
MD5 | 15f20b2677d1b57e3e1a48f4e81c6016 |
|
BLAKE2b-256 | 08f6ad51d7670c8e71b55387c0aa21f4d48fe965f551e2915e2c7eb6a39fe179 |
Hashes for pyjoulescope_driver-1.1.3-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cf95997c57dd1d7a9a3f793f0b586bd181a6177da981b9de30e6319b7929400 |
|
MD5 | 343dbeca3cc92d4f5d7d4e4018c4db6c |
|
BLAKE2b-256 | f57d892f1c2376061b14e7f72be3b2060dc3d1ef549b3becd8013112089d289a |
Hashes for pyjoulescope_driver-1.1.3-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ee139f4cc8fe751f0fda835a44bb5322f6ccc2bea6350f6c99d9415ce2a7fa4 |
|
MD5 | cb12415a2aff55c59102a6c5ea86e1d4 |
|
BLAKE2b-256 | 36d2eac041d5e426a27274e54551587f123d7de13dc752aaf48ae2af3b5d5072 |
Hashes for pyjoulescope_driver-1.1.3-cp310-cp310-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a7dfdd3e2f80796c72ae4ebccbe0fc2f6367d43f737eecccc760885d45ad7a5 |
|
MD5 | 10d43cc09a1e20e6701df00ae0566c92 |
|
BLAKE2b-256 | 4ee39b7f1ac7c53bafd9d09d3caf46a4c18b061d98f6165ccb91cb939426de39 |
Hashes for pyjoulescope_driver-1.1.3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e30237fe6437677f9a9da192bb968422ba9e6a5280b3605f99f224c697550d46 |
|
MD5 | 5ed0d95b6204fbe8ce16e14585344553 |
|
BLAKE2b-256 | 1ab385e12322b580db150ad0eca21039836598d172b2658d8deb9097a7a56e0d |
Hashes for pyjoulescope_driver-1.1.3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfb7d93d207b8e739a534acf4f7a53d0239febec246a269e307091f32c13bfb8 |
|
MD5 | 8b1157ab32e20ae8e864345d127529d4 |
|
BLAKE2b-256 | 9ca098ad01985a9849070fd47a382d7f2002d1a07a5b38b9625a0d7284a527c6 |