Overview
I created a Python library for visualizing the contents of Archivematica METS files.
For example, it visualizes aggregated results of processes (premis:event) performed during AIP creation, as shown below.

Background
In the following article, I introduced METSFlask, a web application for exploring Archivematica METS files in a human-friendly way.
What I created this time is a library version of the functionality provided by METSFlask, making it easier to use outside of Flask.
Repository
It is published at the following location. Usage instructions are described in the README.md file.
https://github.com/nakamura196/mets_tools
Documentation is also published on GitHub Pages.
https://nakamura196.github.io/mets_tools/
Summary
I hope this serves as a helpful reference for utilizing Archivematica and AIPs.