.
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.1.tar.gz
.
File metadata
- Download URL: egauge-python-0.8.1.tar.gz
- Upload date:
- Size: 59.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b93bdb4964fb76a8ea02e6ee0b83022a967939a88ceea02675ba7c1c41fa6f2 |
|
MD5 | fc82ab5213c686d0a9763ef1c361f747 |
|
BLAKE2b-256 | a2a7c7e9390ca8243d1cae36fcbc7de11488337fb7425e1c0ca9e8f71357bc7d |