pdfplumber
Plumb a PDF for detailed information about each char, rectangle, line
pdfplumber is an open-source Python library designed to extract detailed information from PDF documents, including text, tables, characters, lines, rectangles, and other graphical objects. Built on pdfminer.six, it provides precise access to the position, dimensions, and properties of individual page elements. Users can extract text while preserving layout information and identify tables through configurable detection strategies.