For developers
Tested Python code for extracting, editing and OCR-ing PDFs. Copy, paste, run.
PyMuPDF Tutorial: Read, Edit and Convert PDFs in Python
A practical PyMuPDF guide with tested code: extract text, tables and images, render pages, merge, split, watermark, redact, encrypt and compress PDFs.
How to OCR a PDF With PaddleOCR in Python
Extract text from scanned PDFs with PaddleOCR 3.x, then combine it with PyMuPDF to create a searchable PDF. Includes language setup, GPU, CLI and 2.x migration notes.
Python PDF Libraries Compared: PyMuPDF vs pypdf vs pdfplumber (and OCR)
Which Python library should you use for PDFs? A practical comparison of PyMuPDF, pypdf, pdfplumber, PaddleOCR and OCRmyPDF: features, speed and licences.