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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cb68fbfdd22f9d0f5de53eda64f28ffcc1570086e063c45dc581cf364a3c3fa |
|
MD5 | edcb990f06c4a69749430e69c895e225 |
|
BLAKE2b-256 | 00fed8c21494cfd8f9ed10faa827237bba012e70ce774c93cc1a7a83e3768045 |
Hashes for pyjoulescope_driver-1.1.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9142a412d68b42da2f6bc67c0cfb84f2cb95a87da0382afcb4b404fac4c1799a |
|
MD5 | 27a1d07223c1b8be265758455cbbb6e6 |
|
BLAKE2b-256 | 5fd9846191d102fffd8644c967ea4647634e2896ff4eed51648fdfc48198295a |
Hashes for pyjoulescope_driver-1.1.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7eb4a3e93bb6ed5449aed784c581db9a5fd6e31f425807083fc46fdb030968a |
|
MD5 | 0eba2a3a78d64d2f58d1dbd8908d83d1 |
|
BLAKE2b-256 | ab87e14fe74d94b26bd51945772b9c57a56d90d7d14510f302eb3aa4be83a543 |
Hashes for pyjoulescope_driver-1.1.0-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acd87449e0ec9f4a9abd751a91e28aed8f09a5cb4a413ecdb7191ec7c1ed3cae |
|
MD5 | a6175633e69179f30d02671f251edd69 |
|
BLAKE2b-256 | 6ddde160f84ac82e8ff5c849d1cbf36f9ce076d7d5fb88667ed5e88a0aa1a86d |
Hashes for pyjoulescope_driver-1.1.0-cp310-cp310-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10f76755695983c5d06bf96ddbff3e5850ba304ffa6d5637fa3ccb48e9b20f70 |
|
MD5 | fc3909d70e5bf88afafc78590773ac0e |
|
BLAKE2b-256 | f1a2a87f8cf2ec7c26fafabfdccdcb64bdc85fef2df20332ed14a020a80222d4 |
Hashes for pyjoulescope_driver-1.1.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27096097def06ea32d2d957a19ce0eaf32cb11e677787413f82830ac91152ecb |
|
MD5 | 752c55f69b546414531eadd07f0388fe |
|
BLAKE2b-256 | f59b2adead395b7c2f090cf904774af5c01d2e26c253a7f1a484e55f5282c494 |
Hashes for pyjoulescope_driver-1.1.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7b58af4d3f140b45af5c12e4d9965a3e9ea67e650a7ae9e4b481dfcd6ee4a09 |
|
MD5 | 11bbbfdd3b854ce91e2b3d107ed282f2 |
|
BLAKE2b-256 | e1d9d00f745ff355f6868ce385db295f98cd7de84acf4206bae5299f3850c5eb |
Hashes for pyjoulescope_driver-1.1.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d1948dd5274325517df44fe5c5d97637643ea4be7d45a11bde0321505b881ff |
|
MD5 | db5eaad340432c23df1833e41e58a0a7 |
|
BLAKE2b-256 | 840ce443508ec6592874a47dc99f43420caeb26549bd07376af2e68c40253062 |