I wanted something more pythonic than using HAL-tools to consume the API, and it was also a good opportunity for experimenting with using asyncio and aiohttp for handling streaming data.
curb_energy requires Python 3.5 or later, mostly due to the async and type hint syntax used in the library.
curb_energy can be installed using
pip install curb_energy
You may want to install the library in a virtual environment to test things out.