pdfly is a CLI tool to manipulate PDF files, written in Python and based on the fpdf2 & pypdf libraries. It can: - display PDF metadata using pdfly meta and pdfly pagemeta commands - 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). - pull out specific content from PDF files: pdfly extract-images & pdfly extract-annotated-text. - fix manually-edited PDF documents, so that they can be opened in a PDF viewer again!