A command-line utility for modifying PDFs with ease. Perform common PDF operations such as merging, splitting, compressing, and extracting pages, all from your terminal.
Project description
pdforge: iLovePDF made in home.
I'm too lazy to go to iLovePDF so i wrote this. Blessings!
Install
pip install -U pdforge
pdforge is an application, you might want to install it with pipx.
Usage
$ pdforge -h
usage: pdforge [-h] [-v]
{cat,rm,secure,meta,rotate,extract-text,extract-images,watermark}
...
pdforge: iLovePDF made in home.
options:
-h, --help show this help message and exit
-v, --version display the current version
commands:
{cat,rm,secure,meta,rotate,extract-text,extract-images,watermark}
PDF Utilities
cat Merge multiple PDF files into a single PDF document
rm Remove specified pages from a PDF and create a new
file with the remaining pages
secure Encrypt or decrypt a PDF file
meta Retrieve metadata from a PDF file
rotate Rotate page horizontally or vertically
extract-text Extract text from PDF file
extract-images Extract images from PDF file
watermark Add a watermark to every page in a PDF file
For help with a specific command, see: `pdforge <command> -h`.
To view detailed help for each subcommand, use the -h or --help flag:
$ pdforge cat -h
usage: pdforge cat [-h] [-o [OUTPUT]] FILE[:PAGES]] [FILE[:PAGES]] ...]
positional arguments:
FILE[:PAGES]] Path to the input PDF files to merge. Optionally
specify a page or page range in the format
'file.pdf:page' or 'file.pdf:start-end'
options:
-h, --help show this help message and exit
-o [OUTPUT], --output [OUTPUT]
Output filename. Defaults to 'output.pdf'
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
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 pdforge-0.1.0.tar.gz.
File metadata
- Download URL: pdforge-0.1.0.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7834bd639f18e97fd25d43b5dcd922f6d97b87ca7d4a7dba246975e0160aaa5
|
|
| MD5 |
6e34cc7e1be849342eeb1f2ed21373ad
|
|
| BLAKE2b-256 |
e1ef6d1a4bda8a41e4bd41cb33fd9171afad7bc36cdf5301168ce6053ae9f25e
|
File details
Details for the file pdforge-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pdforge-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c3307e5367df5e5d77754625138c8a08c7a70a4cfde04fc14d89a0249aa3346
|
|
| MD5 |
5360cd8c0345d44291d2ea4d3528ccce
|
|
| BLAKE2b-256 |
4b9e8b76e0df9ec84128926011e324a93b28c28bf40e97002f394bab01c2d969
|