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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pdfknife-2026.7.27.0.tar.gz
(10.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pdfknife-2026.7.27.0.tar.gz.
File metadata
- Download URL: pdfknife-2026.7.27.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70952d3c835d215a9f9dc108139bd01a19c1344f9888f72ff3525f5bbfbf2df1
|
|
| MD5 |
8ac807f0e25cd27d25c6bce134207dde
|
|
| BLAKE2b-256 |
499b5ec08036ac1242d5da9700a135c71d3a727c4da474224d59821f6bd6caac
|
File details
Details for the file pdfknife-2026.7.27.0-py3-none-any.whl.
File metadata
- Download URL: pdfknife-2026.7.27.0-py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60e1ba69d71019e1a61f4ff49f9fd455785592080d3a3bfb83a7eec7b6a95945
|
|
| MD5 |
2e51c24053e5344911381aedf58b8d85
|
|
| BLAKE2b-256 |
a7765c5a1a062874c2ed3a42641facf0cd999725ac7b8d543abae13c9fd43622
|