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
File details
Details for the file pyjoulescope_driver-1.2.0.tar.gz
.
File metadata
- Download URL: pyjoulescope_driver-1.2.0.tar.gz
- Upload date:
- Size: 2.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
6dd500185d647da9b7769ccc5cbb4ba88b0e9bbcf6817a5a5096fe482c4e7862
|
|
MD5 |
548ce39122c4d9034262b6479961dab8
|
|
BLAKE2b-256 |
61d2bc6178035565c4b8c67cdb73e0aab71fb8bebe7abdbd333eced49a4be1cf
|
File details
Details for the file pyjoulescope_driver-1.2.0-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: pyjoulescope_driver-1.2.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
3dc562a40e2051925a8904728dfffb0b746a8d2d607b52babd8a44b08a33beac
|
|
MD5 |
7151ce3a76ac1a1645c1589a11e18e59
|
|
BLAKE2b-256 |
0fbb389cbe2762d0415066c9ca6ddb5eb2505941b31c8b73e398f729491091aa
|
File details
Details for the file pyjoulescope_driver-1.2.0-cp311-cp311-macosx_13_0_x86_64.whl
.
File metadata
- Download URL: pyjoulescope_driver-1.2.0-cp311-cp311-macosx_13_0_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.11, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
2eee2f839bd4adbe849000c52517fa37e6bf100045b24fc0ff04b872a3df3806
|
|
MD5 |
b903218d6e784370f43a9b07b5cb696d
|
|
BLAKE2b-256 |
5fd13b942a637b22c3e396e9bad85af40bd18511950a506cf75b3e4ad13d96cf
|
File details
Details for the file pyjoulescope_driver-1.2.0-cp311-cp311-macosx_13_0_arm64.whl
.
File metadata
- Download URL: pyjoulescope_driver-1.2.0-cp311-cp311-macosx_13_0_arm64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.11, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4e77c54594a39c7fcf8fd118699bf93d8e98610b5508e37176b6b6e251a6085d
|
|
MD5 |
1165c1fdf412b8c9905f5dfccc44ccbc
|
|
BLAKE2b-256 |
8523ef3424faafec15250fdb13598a721b0771485158161d754d0aa80b29adbd
|
File details
Details for the file pyjoulescope_driver-1.2.0-cp311-cp311-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: pyjoulescope_driver-1.2.0-cp311-cp311-macosx_10_15_x86_64.whl
- Upload date:
- Size: 4.1 MB
- Tags: CPython 3.11, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
7359a8badb644389d1ccbc180489d4a9fc513a0b9674614f68eaa905ab3a5198
|
|
MD5 |
7a2f87e61a9ada1b8a283ab3a05988cd
|
|
BLAKE2b-256 |
e14b2080ec7bc99bd4e4a519840ca885d7cc895a89f1ee186f4ff9d92fcd6dda
|
File details
Details for the file pyjoulescope_driver-1.2.0-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: pyjoulescope_driver-1.2.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
39def707fcd065f9eca7d5852946a704f9e37eaf725fffe317b22a86cd260b31
|
|
MD5 |
694ab7fdb64141c798336dbe98d8bf20
|
|
BLAKE2b-256 |
4745998ecd674d25deda94f9530aeb6c2d021aeebcb9ea1f93ad1ec4ad66aa75
|
File details
Details for the file pyjoulescope_driver-1.2.0-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: pyjoulescope_driver-1.2.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
abc832e1009be16b5983f3b4c4c4e42990bf1e741d664b1e888ad24b36dc42b0
|
|
MD5 |
9d26c9456511165ea1eb948e0535dffd
|
|
BLAKE2b-256 |
990171090b4249119d24219bc7e8f79bb8b2cd6eff5cb922b9b65c91cf41e390
|
File details
Details for the file pyjoulescope_driver-1.2.0-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: pyjoulescope_driver-1.2.0-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
bd090c9e0760067f9b315cded1622193ead262c0696e7e0dc41e2f7878aa2f01
|
|
MD5 |
5750467f33f5001a8fb9a20733f85122
|
|
BLAKE2b-256 |
12d816638c941aef1446f8f8e4be78924438973dd330298b9c170cfd63e16663
|