All formats

PDF libraries for Python

Python has a library for every PDF job:

Typical picks: pypdf to merge, split, rotate or encrypt; pdfplumber for tables and positioned text; PyMuPDF for speed and rendering when the AGPL is acceptable; ReportLab to generate documents. For rendering under a permissive license, use pypdfium2 (PDFium bindings).