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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de35f4e4515ef157ace3d9bb369ea446766132589cb7465cbc33f68d9b70f441 |
|
MD5 | 921d4312d7010e0bb61d2081c039e78c |
|
BLAKE2b-256 | 3da739bd7074b2e6f6d8f4c64576c37e46e35607de78e536d1637369d1452993 |
Hashes for pyjoulescope_driver-1.3.5-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9b447b5bd9cb6152ead2e2f0528a48ef306bc4fca42b461e84f16a134104c17 |
|
MD5 | 197751adf1747aade486b1aa57f6cd3a |
|
BLAKE2b-256 | 2859c64457892bcd55ad1e34007bad569cb5ef138983b12fc31508f1b3dc8cdb |
Hashes for pyjoulescope_driver-1.3.5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ca2b49500fe2b99ae4de50a762bb5bce706dd0c0e8837413895097df43cc750 |
|
MD5 | b5b996dd8ad1e96634cd0449583b4cb3 |
|
BLAKE2b-256 | dcf85029545523d0b388e3c7a1152b47b50313d4aa47d057233add2ff87d4d3d |
Hashes for pyjoulescope_driver-1.3.5-cp311-cp311-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c5b02705132c25a0629024e58fcf9a17b747c1e76f3b53d9fb695a62e8621dd |
|
MD5 | a6e740190598f16353133b8c2a5aac0d |
|
BLAKE2b-256 | a0728571d3d6bfd552fdca2364cb7d2bdc3a63813438d55991cfd901aca73a38 |
Hashes for pyjoulescope_driver-1.3.5-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 385763848814869693cd642c19a34e24e7abff1b84b5a28ae3ed757f243bb090 |
|
MD5 | 8fbedf85954bd86dd354b3eb0161cc54 |
|
BLAKE2b-256 | c0e78df45edf4aa6b3d2375427eaccdab33d66557ef5f141c7016939d8842107 |
Hashes for pyjoulescope_driver-1.3.5-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17f0cc76710ed6fb7f2fff0238b0985640bfc4a853d028f283e1b5d2bfdf891f |
|
MD5 | 0ac134126166a1add9783a134c8e49ab |
|
BLAKE2b-256 | 6c90fba81abb2fa1767c5de014f8ef1f358bb865b22bab6e1d27b23e05f69e42 |
Hashes for pyjoulescope_driver-1.3.5-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b8615c743a772523e848f84714dde0074fcb02a313dee9f4e82b9ce7a2b82bf |
|
MD5 | 301778592c5693ca2d983e7f1150fc56 |
|
BLAKE2b-256 | d6b5664ccbdd06276282cae7d1a595f033c3013170c96bd52bd828aec4184fd5 |