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.
Metadata
Release files for pyjoulescope-driver 1.3.3
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.3.3.tar.gz | 2.7 MB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| pyjoulescope_driver-1.3.3-cp311-cp311-win_amd64.whl | CPython 3.11 | CPython 3.11 | Windows x86-64 | Details |
| pyjoulescope_driver-1.3.3-cp311-cp311-macosx_13_0_x86_64.whl | CPython 3.11 | CPython 3.11 | macOS 13.0+ x86-64 | Details |
| pyjoulescope_driver-1.3.3-cp311-cp311-macosx_13_0_arm64.whl | CPython 3.11 | CPython 3.11 | macOS 13.0+ ARM64 | Details |
| pyjoulescope_driver-1.3.3-cp311-cp311-macosx_10_15_x86_64.whl | CPython 3.11 | CPython 3.11 | macOS 10.15+ x86-64 | Details |
| pyjoulescope_driver-1.3.3-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details |
| pyjoulescope_driver-1.3.3-cp39-cp39-win_amd64.whl | CPython 3.9 | CPython 3.9 | Windows x86-64 | Details |
| pyjoulescope_driver-1.3.3-cp38-cp38-win_amd64.whl | CPython 3.8 | CPython 3.8 | Windows x86-64 | Details |
Total release size: 20.3 MB
Release files / pyjoulescope_driver-1.3.3.tar.gz
| Download URL | pyjoulescope_driver-1.3.3.tar.gz |
|---|---|
| Size | 2.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80b956c6efe83ab3ad224882f881db7864f34c887107e27c4382264af15a7954
|
|
BLAKE2b-256 checksum How to use checksums |
4329f484dc820befe9275d8f075600de00e1280ec421c6000d0f4f28ac24617b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / pyjoulescope_driver-1.3.3-cp311-cp311-win_amd64.whl
| Download URL | pyjoulescope_driver-1.3.3-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5b81db107f88d39b8c40416fde3efaee3532923d01428638c709bb47ef4d76ca
|
|
BLAKE2b-256 checksum How to use checksums |
1e6bece969e848278df3eb39555fa501ab3cdda64d021fc6d7636354515b49a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / pyjoulescope_driver-1.3.3-cp311-cp311-macosx_13_0_x86_64.whl
| Download URL | pyjoulescope_driver-1.3.3-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 |
561e7a8b61fa7236c25dcad920609d47915ba6f20b8bbb172963e8ca0d689200
|
|
BLAKE2b-256 checksum How to use checksums |
68d3300b0d5901c8fe8da042e7326b7de66b850dbf5bfebc995b65d8bc3e2685
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / pyjoulescope_driver-1.3.3-cp311-cp311-macosx_13_0_arm64.whl
| Download URL | pyjoulescope_driver-1.3.3-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 |
e0d5615f7a78d66a06203492882bc9ba0677f1f058f0e6888445c4cdf487c072
|
|
BLAKE2b-256 checksum How to use checksums |
213f0e0ace6e9fd04e18e0567683121d3fba8a536b26893c75a7f47031a20575
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / pyjoulescope_driver-1.3.3-cp311-cp311-macosx_10_15_x86_64.whl
| Download URL | pyjoulescope_driver-1.3.3-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 |
856225ba80a0a9a79211e92d3b757acd4c5c20f7d8ff36460539491710237e64
|
|
BLAKE2b-256 checksum How to use checksums |
9db3d8d729f421cbb8bc50fadbb6bc403d348fc83aae8960b22ad7be318edf86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / pyjoulescope_driver-1.3.3-cp310-cp310-win_amd64.whl
| Download URL | pyjoulescope_driver-1.3.3-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b1465936a059d0ee85e9c07cdd9b078900052a6932460ab7571d9a9513ed2839
|
|
BLAKE2b-256 checksum How to use checksums |
23eab328af2b5ed2a71603836bf683a6908ea58175c3542057758c612d51cdbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / pyjoulescope_driver-1.3.3-cp39-cp39-win_amd64.whl
| Download URL | pyjoulescope_driver-1.3.3-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
40c6ecbe0f351073f893d70ac01db7f24874c9d6b2a5b83578aae0bdb1c489ab
|
|
BLAKE2b-256 checksum How to use checksums |
31090b36a5c1d989beb0c5725ccce8c25044a4820b59c0b2997092b4d192b69f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / pyjoulescope_driver-1.3.3-cp38-cp38-win_amd64.whl
| Download URL | pyjoulescope_driver-1.3.3-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ba9584a5034ab29ef308b7fe566b6fcb23224cebdaa58d7e1f923f7bb007cd8a
|
|
BLAKE2b-256 checksum How to use checksums |
249ee841fd8a76d3da450b4e4414f74ee1baab677286d9c3c21ce9343fd59603
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|