extract_pdf_info(→ tuple[int, str])
extract_pdf_info
Extracts the number of pages and text from a PDF.
Requires poppler.