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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32f3bc750c31c794438774825072798c82dafe1c011a33951b26e1033311f6d9 |
|
MD5 | f9888c40324406a7484553257a7366bf |
|
BLAKE2b-256 | ded8b80f1f25330f35244dc383e433ecf18fa9901600bb2b63525ee7222eb490 |
Hashes for pyjoulescope_driver-1.1.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99e606bfe84ccf3102e57a6a948777b71460602f3dde3d6d468a484ca1c364bc |
|
MD5 | 044750ac49d5f920dabfe903992a33e4 |
|
BLAKE2b-256 | 9d6f82071489181c616abf940eb08b3e7d15998953f790452a7fd146560ec5cf |
Hashes for pyjoulescope_driver-1.1.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b97e6db773cf5c9594cca650379d5dfe3113a765d8356a03ac248dbefcd444ba |
|
MD5 | 167a43b58d5a1194ec09ea9dba869404 |
|
BLAKE2b-256 | 07b473ecd8892f31e7cab9b2a568bfeab59fd2d09850450530db44add3a0524f |
Hashes for pyjoulescope_driver-1.1.1-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2788b330b16a5902d615d15d4e337f9c1ebe445ac56d63ff240ce94ee161c320 |
|
MD5 | 324426eeecc781c9140471b0c9053b27 |
|
BLAKE2b-256 | 1bae649246273742f36779ce31913925ead4b6cfb9fdbabd4193f144378b6dcb |
Hashes for pyjoulescope_driver-1.1.1-cp310-cp310-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a10d038463a51363b008cfcbc3ca0c46556db6dbe7e98f7c40a737e434cce1f8 |
|
MD5 | b81f1cdfa25ee2f2017f060c08e08ecf |
|
BLAKE2b-256 | 63ceaf96fc611c6eb156dd87ee5e9a0ec2d09b3fd8faa303348ec26025c96795 |
Hashes for pyjoulescope_driver-1.1.1-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96cf9f04fa56c9eeb72be86af08be274fb70303a3ff3bae71f055c9f4834015a |
|
MD5 | c4f81549e3801eb6cd456c8dec92be94 |
|
BLAKE2b-256 | 6c438f204826ae8c4ab49dabd81808e7e1e8e05a332c2c1ae5b149dcc4210953 |
Hashes for pyjoulescope_driver-1.1.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f827479cdca3dbcba4e30476a7323a121a20acc106a091c5b557f2a7ae39220 |
|
MD5 | 608d658b42304d79b438866d14d0c80d |
|
BLAKE2b-256 | cf543056f357c995a9628d97833a5797f4d2d5ff5b3d005e9b6435c9a6f037da |
Hashes for pyjoulescope_driver-1.1.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1f8577d2b0ac147f889207064dc16a8c360475caf352b59c785fc7930b6ce02 |
|
MD5 | e95ca14c18574988eadc318e56d23be4 |
|
BLAKE2b-256 | f65360c539c3610aafd2abe0c8fde8470849bf978ec7fa3c6974b7efd192a6c8 |