Skip to content

jmorrowjr/greenbutton-python-sst

 
 

Repository files navigation

This is some python code to parse an Energy Service Provider Interface (ESPI), or "Green Button" XML file into Python objects.

Run parse_feed() from the parse.py file to get a list of UsagePoint objects. From there you should be able to explore all of the data in the feed. Documentation is a little lacking at the moment, but the class members mostly match the names from the ESPI standard (or at least the XML entities).

There's a bit of documentation in the doc directory about the ESPI standard, mostly figured out from public sources and actual ESPI files.

TO UPDATE Requirements.txt: pip install --no-cache-dir -r requirements.txt

About

Python parser for ESPI ("Green Button") files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Dockerfile 0.6%