Pikepdf 3.x and older support Python 3.6.Here is a solution that works with only the standard packages.
MPL 2.0 is compatible with the GPL and LGPL - see the guidelines for notes on use in GPL. In other works, fork this repository on GitHub or elsewhere and commit your contributions there, and you've satisfied your obligations. However, you must disclose your modifications to pikepdf in source code form.
It may be combined with other work, including commercial software. Informally, MPL 2.0 is a not a "viral" license. Some components of the project may be under other license agreements, as indicated in their SPDX license header or the. By using, distributing, or contributing to this project, you agree to the terms and conditions of this license. Pikepdf is provided under the Mozilla Public License 2.0 license (MPL) that can be found in the LICENSE file. PDFStitcher is a utility for stitching PDF pages into a single document (i.e. PDF Arranger is a small Python application that provides a graphical user interface to rotate, crop and rearrange PDFs. OCRmyPDF uses pikepdf to graft OCR text layers onto existing PDFs, to examine the contents of input PDFs, and to optimize PDFs. "Thanks for creating a great pdf library, I tested out several and this is the one that was best able to work with whatever I threw at it." In Production I decided to try writing a quick Python program with pikepdf to automate and it "just worked". Integrates with Jupyter and IPython notebooks for rapid development Modifies PDF/A without breaking PDF/A complianceĪutomatically repairs PDFs with internal errors Save and load PDF compressed object streams (PDF 1.5)Ĭreates linearized ("fast web view") PDFsĬreates PDFs that pass PDF validation tests Save and load password protected (encrypted) PDFs FeatureĮditing, manipulation and transformation of existing PDFs It does not have the capability to render a PDF to image. Some knowledge of the PDF specification may be helpful. This library is similar to PyPDF2 and pdfrw - it provides low level access to PDF features and allows editing and content transformation of existing PDFs. Binary wheels are available for all common platforms, both x86-64 and ARM64/Apple Silicon.Ĭommercial support is available. Pikepdf is documented and actively maintained. For users who want to build from source, see installation.