XLRD: https://xlrd.readthedocs.io/en/latest/api.html openoyxl: http://www.python-excel.org/ Regarding generator concepts: https://wiki.python.org/moin/Generators