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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 607918d1878e531f8ff319de0980f5d037b212a6811ff9fea089af8b503c0f27 |
|
MD5 | 8322c2decd462423e3f1173a800c3e17 |
|
BLAKE2b-256 | fc991c0216b73e24a413f3a0e606c2bded3100e5238dcdb918a8738638eb72fd |
Hashes for pyjoulescope_driver-1.3.6-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f5b206d3f34b5096647e218b7c2216ffcbb2c748d521a1b54cce8d89c9d64b6 |
|
MD5 | c53b0f2fa1b407462b7d94e68cad24fe |
|
BLAKE2b-256 | f8f54dccfb6147a5bd1fd47764433b450153b671c22c7d76cac32d841f9e5ee2 |
Hashes for pyjoulescope_driver-1.3.6-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11281f67949dac4a63efb1e22763db0dd2e01b1b4b51b62430a5982d59053cb9 |
|
MD5 | 8be5b7f7b1348b8c1a3893d9a16b28a4 |
|
BLAKE2b-256 | bac4a38ed827dfd07facaf3ccaac61bd0455c182701e7f5cbd7d4fbb0909116a |
Hashes for pyjoulescope_driver-1.3.6-cp311-cp311-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f2c069026cf90a9e4ff11dca2ce0ebe21adfd772b1f61f44376b1d235382ad7 |
|
MD5 | 940750c7b2fee9e5aedb7f39b8e35d22 |
|
BLAKE2b-256 | 7a88b483b458b02d9e9abd31ceef7bb7d95c9880b2e5aa1c4369bb966fc52cd5 |
Hashes for pyjoulescope_driver-1.3.6-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a62ebeb9a789b79f3ff65c4df8ce2a41911124390edc1f1b2ebd6a7777ae670 |
|
MD5 | 09cdceb9ed6feb2c093ccce841bb42d8 |
|
BLAKE2b-256 | 508474efdf4677fbf03c90271a6ebfe606c87a57a7f68b97af0ad25684672a0d |
Hashes for pyjoulescope_driver-1.3.6-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8772a5c5fb22700d4f1721d6927f96dee25d24ddb80d4d20a06423ae9068bf1f |
|
MD5 | 123161541b53983b12281cf5fd239172 |
|
BLAKE2b-256 | a4e21a0a7f27479a2c3c004b5a5bb588acb1c9592c1b8897cd9a4635d61e4f9d |
Hashes for pyjoulescope_driver-1.3.6-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6885c9fc6e2b79fb7426f85567ac10e633e8498f5ee38b6ca96eace8ebbf5c60 |
|
MD5 | e2e4895b256af2b87bcc14656563dd3a |
|
BLAKE2b-256 | ea361634bcaa39de6dd0a0ce5dd999b1f6925d6ed0606cab18e399647c4f5e1c |