Skip to main content

packaging

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:

  1. Improved event-driven API based upon PubSub for easier integration with user interfaces and other complicated software packages.
  2. Improved portability for easier language bindings.
  3. Improved performance.

For more information, see:

Python Installation

The python bindings work with Python 3.9 and later. To use the python bindings, ensure that you have a compatible version of python installed on your host computer. Then:

python -m pip install pyjoulescope_driver

For Ubuntu, you will also need to install the udev rules.

You can then run the pyjoulescope_driver python entry points:

python -m pyjoulescope_driver --help
python -m pyjoulescope_driver scan
python -m pyjoulescope_driver info
python -m pyjoulescope_driver info * --verbose

Note that you may need to change "python" to "python3" or the full path.
You can also use a python virtual environment.

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 libudev-dev

You will also need to install the udev rules:

$ wget https://raw.githubusercontent.com/jetperch/joulescope_driver/main/99-joulescope.rules
$ sudo cp 99-joulescope.rules /etc/udev/rules.d/
$ sudo udevadm control --reload-rules

Common

cd {your/repos/joulescope_driver}
mkdir build && cd build
cmake ..
cmake --build . && ctest .

This package includes a command-line tool, jsdrv:

jsdrv --help
jsdrv scan

Build python bindings

Install a compatible version of Python 3.9 or later. To install the pyjoulescope_driver dependencies:

cd {your/repos/joulescope_driver}
python -m pip install -U requirements.txt

You should then be able to build the native bindings:

python setup.py build_ext --inplace

You can build the package using isolation:

python -m build

Depending upon your system configuration, you may need to replace "python" with "python3" or the full path to your desired python installation.

On Windows, you may be prompted to install the Microsoft C++ Build Tools.

Release files for pyjoulescope-driver 1.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyjoulescope-driver 1.6.0
File Size Uploaded
pyjoulescope_driver-1.6.0.tar.gz 3.4 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for pyjoulescope-driver 1.6.0
File
pyjoulescope_driver-1.6.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
pyjoulescope_driver-1.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
pyjoulescope_driver-1.6.0-cp312-cp312-macosx_10_13_universal2.whl CPython 3.12 CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64) Details
pyjoulescope_driver-1.6.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
pyjoulescope_driver-1.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
pyjoulescope_driver-1.6.0-cp311-cp311-macosx_10_9_universal2.whl CPython 3.11 CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) Details
pyjoulescope_driver-1.6.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
pyjoulescope_driver-1.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
pyjoulescope_driver-1.6.0-cp310-cp310-macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) Details
pyjoulescope_driver-1.6.0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
pyjoulescope_driver-1.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
pyjoulescope_driver-1.6.0-cp39-cp39-macosx_10_9_universal2.whl CPython 3.9 CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) Details

Total release size: 47.2 MB

Release files / pyjoulescope_driver-1.6.0.tar.gz

Download URL pyjoulescope_driver-1.6.0.tar.gz
Size 3.4 MB
Tags Source
SHA-256 checksum
How to use checksums
943a7bf67d77c82cc3a060d0313a6d6928620d31e10e796a597a2579e6a8c533
BLAKE2b-256 checksum
How to use checksums
edf04877fbde6f6feddcc2c63e6ca2e69c57697d64cdbd2dbe707d561ea2be92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.10

Release files / pyjoulescope_driver-1.6.0-cp312-cp312-win_amd64.whl

Download URL pyjoulescope_driver-1.6.0-cp312-cp312-win_amd64.whl
Size 3.0 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
2bf1ea4931b2182aed589d7c5874cb90e24c1bcfd88a6c07829e32e3e847a824
BLAKE2b-256 checksum
How to use checksums
72a7baee61372e4867ce6fd25bc3f7e46e968435f35f927193a4e3fb9ce5803d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.10

Release files / pyjoulescope_driver-1.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pyjoulescope_driver-1.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.6 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
5b5c0664facd7b2bc5d1bab86ec1e3ae42c5b166a157435800dbfb0ff7652fd5
BLAKE2b-256 checksum
How to use checksums
cd3a5506e6e667d6d107e9d8d9da07e31a86aed0611fd4ecee54f7547ed801b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.10

Release files / pyjoulescope_driver-1.6.0-cp312-cp312-macosx_10_13_universal2.whl

Download URL pyjoulescope_driver-1.6.0-cp312-cp312-macosx_10_13_universal2.whl
Size 3.4 MB
Tags CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
9998fa41fd7f5cb749ea28bf30e5fc431c324110e96a8d6a453fb5f1f87596b3
BLAKE2b-256 checksum
How to use checksums
19a7f51f1ed0e5d546611c96f04c3bcd9b6f94cd0fff42c2a8a887c266d55dba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.10

Release files / pyjoulescope_driver-1.6.0-cp311-cp311-win_amd64.whl

Download URL pyjoulescope_driver-1.6.0-cp311-cp311-win_amd64.whl
Size 3.0 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
2a6502f755e5ebe5470a1a4634a374ca1334e0720ef9a90a022f3c2e82636f94
BLAKE2b-256 checksum
How to use checksums
a55f7c8bdfb6ed6630b1bf7e297152eb3d70fdd3f3a6e604c277c855621be219
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.10

Release files / pyjoulescope_driver-1.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pyjoulescope_driver-1.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.6 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
1c848e34871b1e8810ae65d5f776b29437b06c6b8744c269b03d4c384538f001
BLAKE2b-256 checksum
How to use checksums
bcaae75a56fb00cf1fe3687bb2d23dc820f11dd67856c7175e95769c3062071f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.10

Release files / pyjoulescope_driver-1.6.0-cp311-cp311-macosx_10_9_universal2.whl

Download URL pyjoulescope_driver-1.6.0-cp311-cp311-macosx_10_9_universal2.whl
Size 3.4 MB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
b32f328bde293e9e2ef251690144148533599bb7ca562b522f104f98d2d75e04
BLAKE2b-256 checksum
How to use checksums
8a7d9b4db2b2e118d13d4132f86dfee82c93be1c3a5fd1a9d9b41de01ce5c53e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.10

Release files / pyjoulescope_driver-1.6.0-cp310-cp310-win_amd64.whl

Download URL pyjoulescope_driver-1.6.0-cp310-cp310-win_amd64.whl
Size 3.0 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
8d511883808546e5aad640f95298d5666a4cbc356f8821bd5988a395e90e7964
BLAKE2b-256 checksum
How to use checksums
3024d9ae9a66a48a2e3b615fe21377315776d4651964e809e4bea417e6fc40fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.10

Release files / pyjoulescope_driver-1.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pyjoulescope_driver-1.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.6 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e094ba8e64c698023160446f23ad581e6ce63ed623a1953fe290240f3622d50e
BLAKE2b-256 checksum
How to use checksums
6ec33ccdb3179f8eb1b9dc37c8fdc312404c151aa37b07e1981e6811a4989944
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.10

Release files / pyjoulescope_driver-1.6.0-cp310-cp310-macosx_10_9_universal2.whl

Download URL pyjoulescope_driver-1.6.0-cp310-cp310-macosx_10_9_universal2.whl
Size 3.4 MB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
33b7377aff80c3c9ff2ab5a13d4113400ec8a009a84c59dc2622422645bd8acc
BLAKE2b-256 checksum
How to use checksums
0fce0e7f1641f298846848a42352016fe8b7ccb8bca61cc2955d85d6cc8728e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.10

Release files / pyjoulescope_driver-1.6.0-cp39-cp39-win_amd64.whl

Download URL pyjoulescope_driver-1.6.0-cp39-cp39-win_amd64.whl
Size 3.0 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
97f84dd687e61e37bbd4d7b2adfa8a71e195cb2f1ad9086cf5071768c5b6fa54
BLAKE2b-256 checksum
How to use checksums
ef0250f3c18e5f01550dd77d96af2e443e103b5bd5309686303ce7d92c215cad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.10

Release files / pyjoulescope_driver-1.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pyjoulescope_driver-1.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.6 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e213d6ea5f754f757bd4d4c0d269491f1719a2394b556c9f989991369fd1e551
BLAKE2b-256 checksum
How to use checksums
a111d657995eb73d48e3f6a39309504e631d095d78a1ac63b9a5d5a939fbbc81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.10

Release files / pyjoulescope_driver-1.6.0-cp39-cp39-macosx_10_9_universal2.whl

Download URL pyjoulescope_driver-1.6.0-cp39-cp39-macosx_10_9_universal2.whl
Size 3.4 MB
Tags CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
029fd0263f67f62bd2cea5ec785739dfabc3fbf89ec9cd9505d668e70b282210
BLAKE2b-256 checksum
How to use checksums
e20eb328d8945a51a424e49d9486daaed4b4299f7bf613f31afa173abfd1ce5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.10

Release history Release notifications | RSS feed

2.5.2

16 release files

2.5.1

16 release files

2.4.1

16 release files

2.3.5

16 release files

2.3.4

16 release files

2.3.3

16 release files

2.3.2

16 release files

2.3.1

16 release files

2.3.0

16 release files

2.2.9

21 release files

2.2.3

21 release files

2.2.2

21 release files

2.2.0

21 release files

2.1.2

21 release files

2.1.1

21 release files

2.1.0

21 release files

2.0.7

17 release files

2.0.5

17 release files

2.0.4

17 release files

2.0.3

17 release files

1.9.3

17 release files

1.9.0

17 release files

1.8.0

17 release files

1.7.2

13 release files

1.7.1

13 release files

This release

1.6.0 This release

13 release files

1.5.6

13 release files

1.5.5

13 release files

1.5.4

13 release files

1.5.3

13 release files

1.5.1

13 release files

1.5.0

13 release files

1.4.9

13 release files

1.4.8

13 release files

1.4.7

13 release files

1.4.1

13 release files

1.4.0

13 release files

1.3.12

7 release files

1.3.11

7 release files

1.3.10

7 release files

1.3.9

7 release files

1.3.8

7 release files

1.3.7

7 release files

1.3.6

7 release files

1.3.5

7 release files

1.3.4

7 release files

1.3.3

8 release files

1.3.2

8 release files

1.3.1

8 release files

1.3.0

8 release files

1.2.2

8 release files

1.2.1

8 release files

1.2.0

8 release files

1.1.4

7 release files

1.1.3

7 release files

1.1.2

8 release files

1.1.1

8 release files

1.1.0

8 release files

1.0.7

8 release files

1.0.6

8 release files

1.0.5

8 release files

1.0.4

5 release files

1.0.3

5 release files

1.0.1

7 release files

0.2.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page