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.


I think that using QuickPDF Library from foxit even with Lite version you can do this easily. https://www.debenu.com/products/development/debenu-pdf-library/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.