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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56179251e5caa4d6243af0a96a894621e27937a1548da451625ee22560cae0ad |
|
MD5 | 5000d598480e88b49ee7875dd3ca7354 |
|
BLAKE2b-256 | 947ff9b676fe5b7f1e644725f1b9a410ba05646a7450d9ab81b0a89e4ffabea3 |
Hashes for pyjoulescope_driver-1.1.4-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fc64c3f37d538451bb21f31f1b6cd6cdc6e8a583b9a1f5c906b1dc4fc3dc66f |
|
MD5 | 84a838a77007d5e9dd0d4868a545b4d2 |
|
BLAKE2b-256 | 1e326124e73d15f7e0551861ed6b3c5f674cea21f065ff7efe7cd6ce3a9cbb7a |
Hashes for pyjoulescope_driver-1.1.4-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cead9a9abc1421b534f10a4cd3ce06897be32112fdbdd3ca0f8fff7274a9b37 |
|
MD5 | 60201f39247c471f87b8cd285b546391 |
|
BLAKE2b-256 | 5eb821faf625a2a151fe34c116ba2ec39cfa74afd8b8f5cfc7dfb5f51c13196a |
Hashes for pyjoulescope_driver-1.1.4-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05f8784075e73da2fa36ff125f7be404402ebe4c6d2826c8128a4ca836a04af8 |
|
MD5 | 79f1e6ec093857d98392e30d041ec81c |
|
BLAKE2b-256 | 82f7b2a754b9afaa5c9b1ddb626ad12b470f5d4c872f46567770ceafbaa1fcb8 |
Hashes for pyjoulescope_driver-1.1.4-cp310-cp310-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ddeb66e3926ed6237c28dc5cd0d7b5b6ddf71a79bad74375e9ecafe4e561996 |
|
MD5 | 0d3c6e5a3c651a83f6b28d87a1034f31 |
|
BLAKE2b-256 | af2f4b14f3313a9c8e9a83ed175dd19e0f7b4ce5d978a8197bb5e3d2199b01df |
Hashes for pyjoulescope_driver-1.1.4-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 966198ba78b05aa633624eedd55407c0fb3e7ded93dc2e5552456448ca587106 |
|
MD5 | f587db6aef2f961e49306f2ab705ba85 |
|
BLAKE2b-256 | e07b8d7a9c71c53d75e4878a68868632a35fd06c727a3cdbbbb31276dc9e7dfb |
Hashes for pyjoulescope_driver-1.1.4-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f359e9cead1de15c13231489a5bd2c5c0c31b776bedcfb52ea768e9718debcc6 |
|
MD5 | bcb942a65b9c2f6fd9f4d43dbd30a979 |
|
BLAKE2b-256 | da943fed5c1efbdc1d137e58d90baae00219655d55daa4b8217d1262fbb69681 |