Skip to main content

Joulescope™ host driver and utilities

Project description

Joulescope

Welcome to Joulescope™! Joulescope is an affordable, precision DC energy analyzer that enables you to build better products. Joulescope™ accurately and simultaneously measures the voltage and current supplied to your target device, and it then computes power and energy. For more information on Joulescope, see www.joulescope.com.

This pyjoulescope python package contains the driver and command-line utilities that run on a host computer and communicates with a Joulescope device over USB. You can use this package to automate and script Joulescope operation. You can also incorporate Joulescope into a custom application. Most users will run the graphical user interface which is in the pyjoulescope_ui package. The majority of code is written in Python 3.6+, but a small amount is in Cython for better performance.

This package runs under Windows 10, Linux (Ubuntu is tested) and Mac OS X. On Windows, the USB communication is performed using WinUSB, which is included with Windows 10. On Linux and Mac OS X, the USB communication uses libusb-1.0.

For the list of changes by release, see the Changelog.

If you just want to use Joulescope, you can download the application.

Developer

Install Python 3.6+.

Configure virtualenv

Although not required, the developers recommend using virtualenv.

First install virtualenv:

pip3 install virtualenv

And then create a new virtual environment.

virtualenv ~/venv/joulescope

You need to activate the virtual environment whenever you start a new terminal.

On POSIX (Linux, Mac OS X with homebrew):

source ~/venv/joulescope/bin/activate

On Windows:

virtualenv c:\venv\joulescope
source c:\venv\joulescope\Scripts\activate

Configure packages

Install development dependencies:

pip3 install -r requirements.txt

Use Joulescope

Joulescope includes PYX files that must be compiled to native libraries using Cython. You can use the setup script to allow development in place:

python3 setup.py build_ext --inplace

You should then be able to execute joulescope:

python3 -m joulescope --help

If you would rather build and install Joulescope:

python setup.py sdist
pip3 install dist/joulescope_[version].tar.gz

License

All pyjoulescope code is released under the permissive Apache 2.0 license. See the License File for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

joulescope-0.2.6.tar.gz (180.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

joulescope-0.2.6-cp37-cp37m-win_amd64.whl (161.9 kB view details)

Uploaded CPython 3.7mWindows x86-64

File details

Details for the file joulescope-0.2.6.tar.gz.

File metadata

  • Download URL: joulescope-0.2.6.tar.gz
  • Upload date:
  • Size: 180.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for joulescope-0.2.6.tar.gz
Algorithm Hash digest
SHA256 5bb33325589c26730dfb8d6ccf046365a6017afd8ea175bb7ffa12f103cfb302
MD5 57e98a7df45f5ae98afe001ef0fa107f
BLAKE2b-256 70a78ebec796e7fd0f8cf78ef79f4ec6d75fc7d8d5575f3efc29fa27e86277c7

See more details on using hashes here.

File details

Details for the file joulescope-0.2.6-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: joulescope-0.2.6-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 161.9 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for joulescope-0.2.6-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 29ee15cf89a39fc9208461efdf4bc1a6aad2f7afe4bcba3fb55e3ba7606ac5fc
MD5 cb21e5153cc6bd4ed729262dffaf23d9
BLAKE2b-256 3ee54a1f71c623ddf19650370fe98759d8ad80fb622a9dce1b96f31ef92bb81f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page