pdfspine
API reference

Documents & pages

API for the Document and Page classes — opening a PDF and working with its individual pages.

A Document is a parsed PDF; obtain one with pdfspine.open. A Page is one page of a Document, obtained with doc[i] or doc.load_page(i).

Document

Full API for pdfspine.Document — methods, signatures, and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.

Page

Full API for pdfspine.Page — methods, signatures, and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.

On this page