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.3.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80b956c6efe83ab3ad224882f881db7864f34c887107e27c4382264af15a7954 |
|
MD5 | cc6aefe8f97d1a5ffd5a226226a78552 |
|
BLAKE2b-256 | 4329f484dc820befe9275d8f075600de00e1280ec421c6000d0f4f28ac24617b |
Hashes for pyjoulescope_driver-1.3.3-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b81db107f88d39b8c40416fde3efaee3532923d01428638c709bb47ef4d76ca |
|
MD5 | 4a2274fa33c0fa7ebc9b1d5352726d7b |
|
BLAKE2b-256 | 1e6bece969e848278df3eb39555fa501ab3cdda64d021fc6d7636354515b49a8 |
Hashes for pyjoulescope_driver-1.3.3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 561e7a8b61fa7236c25dcad920609d47915ba6f20b8bbb172963e8ca0d689200 |
|
MD5 | c68119c32769467ba49b6a690fcdec91 |
|
BLAKE2b-256 | 68d3300b0d5901c8fe8da042e7326b7de66b850dbf5bfebc995b65d8bc3e2685 |
Hashes for pyjoulescope_driver-1.3.3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0d5615f7a78d66a06203492882bc9ba0677f1f058f0e6888445c4cdf487c072 |
|
MD5 | 22c7773d5ad0e6fc2813e3fd450a3879 |
|
BLAKE2b-256 | 213f0e0ace6e9fd04e18e0567683121d3fba8a536b26893c75a7f47031a20575 |
Hashes for pyjoulescope_driver-1.3.3-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 856225ba80a0a9a79211e92d3b757acd4c5c20f7d8ff36460539491710237e64 |
|
MD5 | 7692ad4df26a9719812d919900e9ac44 |
|
BLAKE2b-256 | 9db3d8d729f421cbb8bc50fadbb6bc403d348fc83aae8960b22ad7be318edf86 |
Hashes for pyjoulescope_driver-1.3.3-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1465936a059d0ee85e9c07cdd9b078900052a6932460ab7571d9a9513ed2839 |
|
MD5 | 5f9ccba933a8ff045794b63e1b5f7b13 |
|
BLAKE2b-256 | 23eab328af2b5ed2a71603836bf683a6908ea58175c3542057758c612d51cdbe |
Hashes for pyjoulescope_driver-1.3.3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40c6ecbe0f351073f893d70ac01db7f24874c9d6b2a5b83578aae0bdb1c489ab |
|
MD5 | 8135a9837e0fc68cb640fcd73aacede1 |
|
BLAKE2b-256 | 31090b36a5c1d989beb0c5725ccce8c25044a4820b59c0b2997092b4d192b69f |
Hashes for pyjoulescope_driver-1.3.3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba9584a5034ab29ef308b7fe566b6fcb23224cebdaa58d7e1f923f7bb007cd8a |
|
MD5 | cfb3d3a17595b0d2807b55f397b9157a |
|
BLAKE2b-256 | 249ee841fd8a76d3da450b4e4414f74ee1baab677286d9c3c21ce9343fd59603 |