Script parses all the logs in the /private/var/installd/Library/Logs/MobileInstalation/ .log
Script will produce a currently installed apps report, a uninstalled apps report and historical reports for both types per app.
The types of rows extracted from the logs are for installed apps, moved containers, made live containers and destroyed containers.
Python 3.6.4 or newer.
Put the script in the same directory as the extracted mobile_installation.log.* files.
Run the script.
Script will produce a SQLite database named mib.db.
Script will produce two directories named Apps_Historical and Apps_State. Apps_Historical contains text files per app with coresponding app entries. App_State contains two text files, one for installed apps and another for uninstalled apps.
In order to run the script again the script generated directories and SQLite db files need to be deleted or moved out of the running directory.