There are various PDF standards:
- PDF/A: PDF/A-1a, PDF/A-2a or PDF/A-3a
- PDF/UA
- potentially more
I want to check with Python if a given PDF file follows any of those.
I have seen veraPDF which seems to do what I need, but I have thousands of PDF files in a complex directory structure and I want to get statistics for a subset of those. Hence I want to perform this check with Python.