latools - object oriented and functional tools for analysis of legend data
If you use it on a system where you already have a lot of the dependences installed, use the --system-sites-packages option of python -m venv, so you don't need to reinstall all the packages into the venv.