The Open Energy Data Initiative provides a number of tools to enable the use of the open data published through this initiative. The source is largely written in Python, including Jupyter notebooks.
Please visit the data catalog for the data here: https://data.openei.org/
https://openedi.github.io/open-data-access-tools/
BSD 3-Clause "New" or "Revised" License