Project documentation: pdfly.readthedocs.io pdfly is the youngest project of the py-pdf organization. It has been created by Martin Thoma in 2022. It's simply a CLI tool to manipulate PDF files, written in Python and based on the fpdf2 & pypdf libraries. I'm a maintainer of the project π What can β¦
Project documentation: pdfly.readthedocs.io
pdfly is the youngest project of the py-pdf organization. It has been created by Martin Thoma in 2022.
It's simply a CLI tool to manipulate PDF files, written in Python and based on the fpdf2 & pypdf libraries.
I'm a maintainer of the project π
What can it do?
It has meany features, including:
display PDF metadata using pdfly meta and pdfly pagemeta commands. Example:
$ pdfly meta minimal-document.pdf Operating System Data βββββββββββββββββββββ³ββββββββββββββββββββββββββββ β Attribute β Value β β‘ββββββββββββββββββββββββββββββββββββββββββββββββ© β File Name β /tmp/minimal-document.pdf β β File Permissions β -rw-r--r-- β β File Size β 16 ,978 bytes β β Creation Time β 2025 -10-13 09 :44:32 β β Modification Time β 2025 -10-13 09 :44:32 β β Access Time β 2025 -10-13 09 :44:46 β βββββββββββββββββββββ΄ββββββββββββββββββββββββββββ PDF Data ββββββββββββββββββββββ³βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β Attribute β Value β β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ© β CreationDate β 2022 -04-03 18 :05:42+02:00 β β Creator β TeX β β Producer β pdfTeX-1.40.23 β β Pages β 1 β β Encrypted β None β β PDF File Version β %PDF-1.5 β β Page Layout β β β Page Mode β β β PDF ID β ID1 = b 'q\x96\xc3\xe3U\xc1|\x9fS\xba\x9a\r\xcap\xcd\xd0' β β β ID2 = b 'q\x96\xc3\xe3U\xc1|\x9fS\xba\x9a\r\xcap\xcd\xd0' β β Fonts ( embedded ) β β β Fonts ( embedded ) β /KNEUFH+CMR10 β β Attachments β [] β β Images β 0 images ( 0 bytes ) β ββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
pdfly can also combine files into new PDF documents: it can extract specific pages & merge documents ( pdfly cat ); selectively remove pages ( pdfly rm ); convert images to PDF documents ( pdfly x2pdf ); and even compress documents ( pdfly compress ) or build booklets ( pdfly 2-up & pdfly booklet ).
... continue reading