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()

Download files

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

Source Distribution

pseg-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

pseg-0.1.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file pseg-0.1.1.tar.gz.

File metadata

  • Download URL: pseg-0.1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pseg-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7ffb1831526ef707c4b480d769868136122411fec4ad2887b3347d4bb1966509
MD5 bffeb28bc55ad80de505753192630018
BLAKE2b-256 4a35d3019df20fa038bffe5f10fd03be90c0192518b5eacc9ab0265b0b221423

See more details on using hashes here.

File details

Details for the file pseg-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pseg-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pseg-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2880af217fd9ad5bddc3c32afae1e0e37cf8bd11e9836437825f42d63568430d
MD5 8a83785ac999547e820a43529fdfaf6f
BLAKE2b-256 894ffaecbee54ef29a356edef718ff4a56afc26cf9fde323240bfad88aa78b29

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

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