ole-py is another parser for OLE files, with a lightweight implementation (not as complete as olefile). Its API might bring some ideas. https://github.com/hallazzang/ole-py