pdfdol#

Data Object Layers for PDF data.

>>> from pdfdol import PdfFilesReader
>>> from pdfdol.tests import get_test_pdf_folder
>>> folder_path = get_test_pdf_folder()
>>> s = PdfFilesReader(folder_path)
>>> sorted(s)
['sample_pdf_1', 'sample_pdf_2', 'sample_with_title']
>>> assert s['sample_pdf_2'] == [
...     'Page 1\nThis is a sample text for testing Python PDF tools.'
... ]

Modules

base

Base objects for pdfdol

bundle

Bundle several PDFs into one, with a contents page, per-document headers and bookmarks.

checks

Checks that verify a PDF, rather than looking at a few of its pages.

chromium

Headless Chromium engine: print web pages designed for the screen.

download

Download PDF articles from markdown-formatted text.

figures

Crop a figure or table out of a PDF by its caption, and locate a quoted passage.

tools

Pdf Tools.

util

Utils for pdfdol