pikepdf
tags :
Python Apps #
A Python library for reading and writing PDF, powered by QPDF github
#

Attaching or Embedding File to PDF/A-3 #
In [1]: from pikepdf import Pdf, AttachedFileSpec, Name, Dictionary, Array
In [1]: from pathlib import Path
In [1]: pdf = Pdf.open('../tests/resources/fourpages.pdf')
In [1]: filespec = AttachedFileSpec.from_filepath(pdf, Path('../README.md'))
In [1]: pdf.attachments['README.md'] = filespec
In [1]: pdf.attachments
OCR of Images #
2024-02-13_16-08-24_screenshot.png #

<> Code Issues 39 e1 Pull requests 3 Discussions Actions Projects Security pikepdf Public Sponsor Watch 35 V e Fork 178 . Star 2k 8 main V 8 S Go to file + <> Code V About A Python library for reading and jbarlow83 Merge branch I : cf77ce8 last week 2,807 Commits writing PDF, powered by QPDF .github Bump pre-commit/action f... last week e pikepdf.readthedocs.Io) python pdf pdf-generation
OCR of Images #
2024-02-13_16-08-24_screenshot.png #

<> Code Issues 39 e1 Pull requests 3 Discussions Actions Projects Security pikepdf Public Sponsor Watch 35 V e Fork 178 . Star 2k 8 main V 8 S Go to file + <> Code V About A Python library for reading and jbarlow83 Merge branch I : cf77ce8 last week 2,807 Commits writing PDF, powered by QPDF .github Bump pre-commit/action f... last week e pikepdf.readthedocs.Io) python pdf pdf-generation