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.
Release files for pyjoulescope-driver 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyjoulescope_driver-1.2.0.tar.gz | 2.6 MB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| pyjoulescope_driver-1.2.0-cp311-cp311-win_amd64.whl | CPython 3.11 | CPython 3.11 | Windows x86-64 | Details |
| pyjoulescope_driver-1.2.0-cp311-cp311-macosx_13_0_x86_64.whl | CPython 3.11 | CPython 3.11 | macOS 13.0+ x86-64 | Details |
| pyjoulescope_driver-1.2.0-cp311-cp311-macosx_13_0_arm64.whl | CPython 3.11 | CPython 3.11 | macOS 13.0+ ARM64 | Details |
| pyjoulescope_driver-1.2.0-cp311-cp311-macosx_10_15_x86_64.whl | CPython 3.11 | CPython 3.11 | macOS 10.15+ x86-64 | Details |
| pyjoulescope_driver-1.2.0-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details |
| pyjoulescope_driver-1.2.0-cp39-cp39-win_amd64.whl | CPython 3.9 | CPython 3.9 | Windows x86-64 | Details |
| pyjoulescope_driver-1.2.0-cp38-cp38-win_amd64.whl | CPython 3.8 | CPython 3.8 | Windows x86-64 | Details |
Total release size: 20.2 MB
Release files / pyjoulescope_driver-1.2.0.tar.gz
| Download URL | pyjoulescope_driver-1.2.0.tar.gz |
|---|---|
| Size | 2.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6dd500185d647da9b7769ccc5cbb4ba88b0e9bbcf6817a5a5096fe482c4e7862
|
|
BLAKE2b-256 checksum How to use checksums |
61d2bc6178035565c4b8c67cdb73e0aab71fb8bebe7abdbd333eced49a4be1cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / pyjoulescope_driver-1.2.0-cp311-cp311-win_amd64.whl
| Download URL | pyjoulescope_driver-1.2.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3dc562a40e2051925a8904728dfffb0b746a8d2d607b52babd8a44b08a33beac
|
|
BLAKE2b-256 checksum How to use checksums |
0fbb389cbe2762d0415066c9ca6ddb5eb2505941b31c8b73e398f729491091aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / pyjoulescope_driver-1.2.0-cp311-cp311-macosx_13_0_x86_64.whl
| Download URL | pyjoulescope_driver-1.2.0-cp311-cp311-macosx_13_0_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.11 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
2eee2f839bd4adbe849000c52517fa37e6bf100045b24fc0ff04b872a3df3806
|
|
BLAKE2b-256 checksum How to use checksums |
5fd13b942a637b22c3e396e9bad85af40bd18511950a506cf75b3e4ad13d96cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / pyjoulescope_driver-1.2.0-cp311-cp311-macosx_13_0_arm64.whl
| Download URL | pyjoulescope_driver-1.2.0-cp311-cp311-macosx_13_0_arm64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.11 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4e77c54594a39c7fcf8fd118699bf93d8e98610b5508e37176b6b6e251a6085d
|
|
BLAKE2b-256 checksum How to use checksums |
8523ef3424faafec15250fdb13598a721b0771485158161d754d0aa80b29adbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / pyjoulescope_driver-1.2.0-cp311-cp311-macosx_10_15_x86_64.whl
| Download URL | pyjoulescope_driver-1.2.0-cp311-cp311-macosx_10_15_x86_64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | CPython 3.11 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
7359a8badb644389d1ccbc180489d4a9fc513a0b9674614f68eaa905ab3a5198
|
|
BLAKE2b-256 checksum How to use checksums |
e14b2080ec7bc99bd4e4a519840ca885d7cc895a89f1ee186f4ff9d92fcd6dda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / pyjoulescope_driver-1.2.0-cp310-cp310-win_amd64.whl
| Download URL | pyjoulescope_driver-1.2.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
39def707fcd065f9eca7d5852946a704f9e37eaf725fffe317b22a86cd260b31
|
|
BLAKE2b-256 checksum How to use checksums |
4745998ecd674d25deda94f9530aeb6c2d021aeebcb9ea1f93ad1ec4ad66aa75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / pyjoulescope_driver-1.2.0-cp39-cp39-win_amd64.whl
| Download URL | pyjoulescope_driver-1.2.0-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
abc832e1009be16b5983f3b4c4c4e42990bf1e741d664b1e888ad24b36dc42b0
|
|
BLAKE2b-256 checksum How to use checksums |
990171090b4249119d24219bc7e8f79bb8b2cd6eff5cb922b9b65c91cf41e390
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / pyjoulescope_driver-1.2.0-cp38-cp38-win_amd64.whl
| Download URL | pyjoulescope_driver-1.2.0-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
bd090c9e0760067f9b315cded1622193ead262c0696e7e0dc41e2f7878aa2f01
|
|
BLAKE2b-256 checksum How to use checksums |
12d816638c941aef1446f8f8e4be78924438973dd330298b9c170cfd63e16663
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|