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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ffc8688341644a95699a91163bc4a5e45c47c76a5730a97729af069acd4b207 |
|
MD5 | 4a8509d68e10cb6af50c5b65c934adeb |
|
BLAKE2b-256 | 5162821188e412e63627ce3a5b68f6a9983ca8f7cc309fe5ed1f4be5e1e50ba5 |
Hashes for pyjoulescope_driver-1.3.2-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc176ea62279092b9b2a65b93bb4e025c5de48420ceca5efce3e5dcdbceac9d0 |
|
MD5 | bea1fcb834a335fb22e06fc45dc2faac |
|
BLAKE2b-256 | dcddceb04900cc0c9b35e56e220fc0f96c5970fb2536382113e4acd51688f8d4 |
Hashes for pyjoulescope_driver-1.3.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b889d0ac16334a2e92e0345e6f9be05556d7850315fc6da7455808084248ed3b |
|
MD5 | 3c7f310092b5dd09ba642169154fac19 |
|
BLAKE2b-256 | f615c0435f28175b355e4f6835d2be9c78aeac710c3e6d7e2dfa7ead75fb2181 |
Hashes for pyjoulescope_driver-1.3.2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e5491ef391c94a2ab0392571bd55bdfb26d81be846a40e7d3190a5d13d87bd4 |
|
MD5 | f96d58fffe416c42ef0a4e975749d00b |
|
BLAKE2b-256 | 975ef71e82db55b4aa085fb613b3d8e2c9a96c5e47d272483eafbc1e7ff9c12a |
Hashes for pyjoulescope_driver-1.3.2-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb3fa34312a7d39bd2fca7467b55a37d3d41fffa4b06ed9721bb18ef0e0f00f6 |
|
MD5 | 9205ef19fb7f2a4124a9253e15e01ba9 |
|
BLAKE2b-256 | 047ed996013cf16f42c39974c7a5a019ec87e1c244a99eca5a8ddf4038e27738 |
Hashes for pyjoulescope_driver-1.3.2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bedf90073d5ef89dfc3b20a47b6d196e146cebf60fb0b1028f30d4a1eb979aa |
|
MD5 | 7965ad6071fc61d7efabf04364217314 |
|
BLAKE2b-256 | c4abfa7e7363c66f733d77e865f2e27e71395f3f6e4b55000f4c3210be4f252d |
Hashes for pyjoulescope_driver-1.3.2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe8ecd8944e46402404c207bd08a3c50a0f3880a9ae914a4b540f92d5767dc92 |
|
MD5 | fbc4d0889e74c4fa30349dcc239a1311 |
|
BLAKE2b-256 | 27e0811c39a0d622afb1557baab32c1ddf4c42b77d0cf430e94340e2dc8d7591 |
Hashes for pyjoulescope_driver-1.3.2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36baf520c8c9bfd71d770e5a17ce7ece7731532a1b92be9f7db40e8a2ea7ada8 |
|
MD5 | d804e187cbece24ac93d5f4a0481ae40 |
|
BLAKE2b-256 | 4cb0d003319139f9de1cc78a5c288a8e6fc5dbd857aa7fd2334af51a377fbe1d |