pdfplumber
Plumb a PDF for detailed information about each char, rectangle, line
...It also provides access to PDF metadata and password-protected documents. A command-line interface exports page objects into structured CSV or JSON data. pdfplumber works best with digitally generated PDFs and is useful for document analysis, data extraction, and automated processing workflows.