pdfscraper.document

Module Contents

Classes

Document

class pdfscraper.document.Document[source]
Parameters
pages :List[pdfscraper.page.Page][source]
doc :Any[source]
orientation :pdfscraper.layout.utils.Orientation[source]
classmethod from_pymupdf(path, orientation=Orientation.create(bottom_is_zero=False, left_is_zero=True))[source]
Parameters

orientation (Orientation) –

Return type

Document

classmethod from_pdfminer(path, orientation=Orientation.create(bottom_is_zero=False, left_is_zero=True))[source]
Parameters

orientation (Orientation) –

Return type

Document

create_sections()[source]