.
Project description
eGauge open source Python code
This repository is a collection of Python packages that have been released by eGauge Systems LLC as open source (MIT license). These are released in the hope that they may be useful for other developers. Please see LICENSE for details. eGauge Systems LLC also reserved the rights to add, modify, or remove code from this repository or the entire repository without notice.
Example Programs
Example programs can be found in the examples
subdirectory. If you
want to run these programs, ensure that all dependencies are installed
by running the command:
pip install egauge-python[examples]
Before running these programs, set the following environment variables for your preferred test device:
- EGDEV: URL of the test device (e.g., "http://eGaugeXXXXX.local" or "http://eGaugeXXXX.d.egauge.net")
- EGUSR: Username to authenticate with (e.g., "owner")
- EGPWD: Password to authenticate with (e.g., "super-secret-pw")
Overview of available modules
egauge.webapi
The classes in this module provide access to eGauge web services. The APIs may be available on eGauge devices and/or as cloud-based web services.
egauge.webapi.device
The classes in this module provide access to APIs implemented on eGauge devices.
egauge.webapi.cloud
The classes in this module provide access to APIs implemented by eGauge cloud services.
egauge.ctid
The classes in this module support manufacturing CTid® sensors. CTid® is patented technology and shall be used in accordance with the licensing agreements governing its use.
egauge.pyside
The classes in this module support QT6-based graphical user-interfaces.
Source Code Conventions
Source code should be formatted with black
using a maximum line-length
of 79 characters. Black can be installed with pip install black
.
If the resulting output is inadequate for some reason, such as manually
formatted data tables, you can make judicious use of # fmt: off
and
# fmt: on
to disable formatting for the relevant lines.
Source code should be syntax checked with pylint. Pylint can be
installed with pip install pylint
. You can make judicious use
of # pylint: disable=
\ warning-name to temporarily disable
warnings that can safely be ignored.
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
File details
Details for the file egauge-python-0.8.0.tar.gz
.
File metadata
- Download URL: egauge-python-0.8.0.tar.gz
- Upload date:
- Size: 59.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 646445c79ffb4bf2b242d854f0eeebbc9324aed27f79b0de387b969eb90c667b |
|
MD5 | b009406f96d05f1b5fd54733a9fe98f4 |
|
BLAKE2b-256 | b0021b5d24b4840278f015b09812dbc696b37175a2089777ab2ee1c5aaba9810 |