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.
Limitations
This project is currently under active development. As of 2022 Aug 1, this project has the following known limitations:
- Only Windows support
- Builds under macOS, but libusb_init returns error -99.
- Linux support planned soon.
- JS110 support not yet at feature parity to existing pyjoulescope.
- No current range suppression filtering yet.
- No downsampling.
- Limited testing - Still a work in progress. Not yet ready for production use.
Building
Ensure that your computer has a develpment environment including CMake.
For macOS, install homebrew, then:
brew install libusb pkgconfig python3
Then:
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
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.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cccdd961f58b0575137ebcafcdac18009f73c6364d1a2d4a0c36871d42f11ea |
|
MD5 | 3423a157c1e3e28dc80ec9bc56735db9 |
|
BLAKE2b-256 | 717712879acbd4bb478beb20b26d61396d4a5cc6bc3cdc8014d47305fa23bec4 |
Hashes for pyjoulescope_driver-1.0.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9b03a6921e4f2f38bb630d4cbafcdefa025d2b24fb5181cf0127c13e72f2412 |
|
MD5 | 5820917c0f6bb3dfbb46e2f4a97fb9e4 |
|
BLAKE2b-256 | f975e9be7360df7b231dfc2b2e0ff4f96324eda6ba7733c1b5b650e070a24326 |
Hashes for pyjoulescope_driver-1.0.1-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 753cbe4589a6beeeb69662496ce9f89087dbd42e4877b40b45110981e761bef2 |
|
MD5 | 182b838deeab107fb3f9cfa18e17d183 |
|
BLAKE2b-256 | 80161754c965f4356f4cc985270dde3584417a4631730800cb02c92349ac6ee1 |
Hashes for pyjoulescope_driver-1.0.1-cp310-cp310-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd855862424a10d51fc097f73fd25d40e7292ec0d0745dffe571257858ca4d99 |
|
MD5 | ac257d1f8fadd03ec581c770f756e243 |
|
BLAKE2b-256 | 73b0974a27bd8f0b432c45f0b8bd53a0205208949a4d7ffd44cdf5acdd7c56b0 |
Hashes for pyjoulescope_driver-1.0.1-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd7c5f832acdab02e21f680d7a6eb872cfab7128eb6cf11362cf874146504f27 |
|
MD5 | dbf4fb7f77c94c5e8b2306d7d44b726d |
|
BLAKE2b-256 | a16f70244b4b80462e25489678bb6f560ddd6a7ae3c07d67ce460157aaecaaa5 |
Hashes for pyjoulescope_driver-1.0.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c5568d49534fa5c8c14526b3ecebd5886012efeed41572c3d8b613c37de91e8 |
|
MD5 | b0345291e4b3d2bc01b62e321c0b6b4f |
|
BLAKE2b-256 | 5386941dad9adaf3c6ff2c375698d2fe8f1a8637eac77868c0e6b0548a65b264 |
Hashes for pyjoulescope_driver-1.0.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8490ce9645fad98d845f5c8b7bad5d16b601c95c95b6d3cc6b615d51e524a3c8 |
|
MD5 | 5e2b5e7d11cc3834a1761ee288167c16 |
|
BLAKE2b-256 | d9dfaa2062727846f1ff615ee7328bf006709cb74f58b7893f17ff19de2b3761 |