Skip to main content

This is a utility package to interact with a PSE&G gas meter

Pseg calls the API of the PSE&G gas meter to return the current energy usage.

It requires the meter’s energize id and a session id. You can find this information as cookies after logging into your PSE&G customer account at https://pseg.com/.

Example usage:

from pseg import Meter

meter = Meter(“17baf96d8fdc0abcded2cf428b74d3151”, “bRWWRMk6PCka1MQ%2BabcedpaZxxMafUhDSQoaRDvDC1Aw%3D%3D”) gas_consumption_therms = meter.last_gas_consumption_read()

Release files for pseg 0.1.1

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

Source distribution (sdist)

Source distribution for pseg 0.1.1
File Size Uploaded
pseg-0.1.1.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pseg 0.1.1
File Interpreter ABI Platform
pseg-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.0 kB

Release files / pseg-0.1.1.tar.gz

Download URL pseg-0.1.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7ffb1831526ef707c4b480d769868136122411fec4ad2887b3347d4bb1966509
BLAKE2b-256 checksum
How to use checksums
4a35d3019df20fa038bffe5f10fd03be90c0192518b5eacc9ab0265b0b221423
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / pseg-0.1.1-py3-none-any.whl

Download URL pseg-0.1.1-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2880af217fd9ad5bddc3c32afae1e0e37cf8bd11e9836437825f42d63568430d
BLAKE2b-256 checksum
How to use checksums
894ffaecbee54ef29a356edef718ff4a56afc26cf9fde323240bfad88aa78b29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

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