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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95f53f02ae656bfe2262c1c07500f201b1180f95fc84e3c3b3056edda22cafa9 |
|
MD5 | a42ef7e46dac70925a8a85b0bab93eef |
|
BLAKE2b-256 | e8ca7dd64fa7d6a329b54269422d026cbec7eacda929736a424110975312808e |
Hashes for pyjoulescope_driver-1.3.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e6c46a388056eecc9cb53f2aa884e7334f058186089db3d42d3c2d023136b0f |
|
MD5 | a68d4b78694af47954476c0c15c2d734 |
|
BLAKE2b-256 | 53d74299dec47158604f39c4fe8bb76469e56c108f445fd28105fa1fc214f4ae |
Hashes for pyjoulescope_driver-1.3.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e169652eff933304db58a26bb6f4aca30fc213126a9142ade3e81d826e250e91 |
|
MD5 | 471f75e5bc3c0b17e55e77e6e278962a |
|
BLAKE2b-256 | 165af337b88d3a8de733f7f3b3481be18b0390b546f49cc49842aad7ccc024b3 |
Hashes for pyjoulescope_driver-1.3.0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6eab35fb49627677468241ef91bc1bcbe5da593c610fefd2696b697ca372630 |
|
MD5 | 2e90c0f59ee7455ba4ccd024d875a5bb |
|
BLAKE2b-256 | 26e477fc25dfa7a5bc31fe7f74072270853289bdca139e6a92928977b28d1827 |
Hashes for pyjoulescope_driver-1.3.0-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77dbce8ce7afdb1002f1d084bb0eef709b1eea14d01109fcea0f9760a1722dcd |
|
MD5 | 5bb9dd0b173b4990602be9de3e01540d |
|
BLAKE2b-256 | 909d7325a196495fb95a5cf011d02ccb675d5e79ff2860f165eff99168a85e1d |
Hashes for pyjoulescope_driver-1.3.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be80d0971a8008a9d4ea8d1439d0ba4d8ed55b8dbc9b38d627617bb4b0b93a14 |
|
MD5 | e9981a24447836dc3026e0aaf5a5dddf |
|
BLAKE2b-256 | 2959a249c209da950c01067a852195148d57c399b37529f102be533e8ef05fe6 |
Hashes for pyjoulescope_driver-1.3.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdfe6aa4ca4bcef40ee93791ce2f26cd9cc1cbd9278323f6868e3a26bf7dfcce |
|
MD5 | 457db767a54ae7c6532177bb7138b78e |
|
BLAKE2b-256 | f39ebdec07855133fca44b1ec7cbf51770784764618564d4423ff1239054181e |
Hashes for pyjoulescope_driver-1.3.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 364fb68310085a4fde1dd7abed82fd3bd340b4b70caf285d616ffcb49f045330 |
|
MD5 | 4488c182cb898263d48951fbe9315545 |
|
BLAKE2b-256 | 480eaa5053fa5639d0af29e91ad1a57f577105772298b370cc2ec7aca6bbdebc |