Skip to main content

Get your Hydro Quebec consumption (wwww.hydroquebec.com)

Project description

TODO

  • Add multi account support

  • Get the current account balance

Installation

pip install pyhydroquebec

Usage

Print your current data

pyhydroquebec -u MYACCOUNT -p MYPASSWORD

List your current contracts

pyhydroquebec -u MYACCOUNT -p MYPASSWORD -l

Print help

pyhydroquebec -h
usage: pyhydroquebec [-h] -u USERNAME -p PASSWORD [-j] [-c CONTRACT] [-l]
                     [-t TIMEOUT]

optional arguments:
  -h, --help            show this help message and exit
  -u USERNAME, --username USERNAME
                        Hydro Quebec username
  -p PASSWORD, --password PASSWORD
                        Password
  -j, --json            Json output
  -c CONTRACT, --contract CONTRACT
                        Contract number
  -l, --list-contracts  List all your contracts
  -t TIMEOUT, --timeout TIMEOUT
                        Request timeout

Dev env

virtualenv -p /usr/bin/python3.5 env
pip install -r requirements.txt

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

pyhydroquebec-1.2.0.tar.gz (5.0 kB view hashes)

Uploaded Source

Supported by

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