Works via Terminal (library.py) or as Flask web app (web_app.py).
Subdivided output to allow for Flask HTML template formatting.