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
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
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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e846d3b23673ea92d43703b863dfa1f9e038488d03f9d2f701479f380326435e |
|
MD5 | df8619a5c0a3b3941a186cb5e487a90d |
|
BLAKE2b-256 | 79557478cc08f693a488af469f61f0fc5d1a907a1a95b7da643d38744bb81e65 |
Hashes for pyjoulescope_driver-1.1.2-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cda2f5ab843392b91172f043eebf14346072b5236fc581eb929fa65b37b98bed |
|
MD5 | 9d2a1eb0e1b2fa12970133d8f2beff61 |
|
BLAKE2b-256 | 9fb868f27bcba522efb18d7858f18ff22b27b2e7b6d572d0e05b2bb9272858dd |
Hashes for pyjoulescope_driver-1.1.2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82db9869b6b219e4ee9798424ea4668fdb2ffac02c3adfb7806cf5e152a9cbff |
|
MD5 | bff6f900f542d9581ba3c0c4edf7879e |
|
BLAKE2b-256 | 9cd322da9063c7f9b61b4c1974ebe1cf5fcce370db1e0e1e0e8e36202cd6541d |
Hashes for pyjoulescope_driver-1.1.2-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4cb4951a79696b765c491f2792d1cfad87c432bbcf38c68967e28e6f82a6f3b |
|
MD5 | 84b0a2aa9f73459fb8fa5d769a20edd3 |
|
BLAKE2b-256 | d5cc974dc56599c8cfce38801d8a8db6c295842827de512756818b18e5fb894f |
Hashes for pyjoulescope_driver-1.1.2-cp310-cp310-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5bd750297c59be63684cf8cb5886185373469d282488b3ab951d8db25a62b86 |
|
MD5 | 24d5e89789d88ed3a933cdf4c1202b70 |
|
BLAKE2b-256 | d93b2c25eb207c06d9d20b634ec864fe1052de29c1208757a89c337fdd028cf0 |
Hashes for pyjoulescope_driver-1.1.2-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a67c0605a9c3da378d7d0d8c474a7ac349228e729f94f7ffc75bd014d897d161 |
|
MD5 | febd7dc1289deef34be01dcf53695537 |
|
BLAKE2b-256 | 26a1449f58c5dfdcf434082ee2e48ecc2a43a12f9c4c144686ffd94fea8e55af |
Hashes for pyjoulescope_driver-1.1.2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd056f2564f88fda127b141b3f331d47dbbe399d8cdad82a2fe9077bd45774d7 |
|
MD5 | b27de4f3c5da79bef3ea457fbd531c3c |
|
BLAKE2b-256 | 28cd9f101be762770377b7fd1842578223f2c736095cd0cba0902a32282b3937 |
Hashes for pyjoulescope_driver-1.1.2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07818fa93259f03a5e6c856217487a1920443e5f7ef951d5a36d9298d0ef3a56 |
|
MD5 | 716be5399ad09f7c954eb9d9a26301a2 |
|
BLAKE2b-256 | 6c808a3481443b106e39174dbbb0f5a144cb434263c2d0d14252d507223999ec |