Skip to main content

Command line tools to manipulate PDF files

Project description

PDFknife

A Swiss Army Knife sort of python scripts collection to manipulate PDFs. It relies on:

  • pdfjam
  • pdftk
  • pdfunite (poppler)
  • ghostscript
  • mupdf-tools

Install

The project is available on pypi: https://pypi.org/project/PDFknife/

pip install PDFknife

Tools

  • pdfknife-A5.py -- Turn a PDF in A5 format
  • pdfknife-even.py -- Add blank page to odd pages PDF
  • pdfknife-extract -- Extract images from PDF
  • pdfknife-merge.py -- Merge PDFs
  • pdfknife-recto.py -- Add blank page between each original page
  • pdfknife-reverse.py -- Reverse page order
  • pdfknife-shrink.py -- Compress a PDF
  • pdfknife-split.py -- Make one page per file
  • pdfknife-trim.py -- Change the margins

License

BSD3, See LICENCE file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdfknife-0.2.5.tar.gz (8.0 kB view details)

Uploaded Source

File details

Details for the file pdfknife-0.2.5.tar.gz.

File metadata

  • Download URL: pdfknife-0.2.5.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for pdfknife-0.2.5.tar.gz
Algorithm Hash digest
SHA256 def6f02ad3d3417a0246f3fee0619051905f3ed95a0ecabd2ba77297c81df2bd
MD5 aad85a6cf00bea239e9310ac5f946e58
BLAKE2b-256 3e5ab39c36574f46feeaba2b89faebe9c42ef89c23b867957aac2ea846c5e5ae

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page