A pure-python CLI application to manipulate PDF files
Project description
pdfly
pdfly (say: PDF-li) is a pure-python cli application for manipulating PDF files.
Installation
pip install -U pdfly
As pdfly is an application, you might want to install it with pipx.
Usage
$ pdfly --help
Usage: pdfly [OPTIONS] COMMAND [ARGS]...
pdfly is a pure-python cli application for manipulating PDF files.
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --version │
│ --help Show this message and exit. │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────╮
│ 2-up Create a booklet-style PDF from a single input. │
│ cat Concatenate pages from PDF files into a single PDF file. │
│ compress Compress a PDF. │
│ extract-images Extract images from PDF without resampling or altering. │
│ extract-text Extract text from a PDF file. │
│ meta Show metadata of a PDF file │
│ pagemeta Give details about a single page. │
╰─────────────────────────────────────────────────────────────────────────────╯
You can see the help of every subcommand by typing:
$ pdfly 2-up --help
Usage: pdfly 2-up [OPTIONS] PDF OUT
Create a booklet-style PDF from a single input.
Pairs of two pages will be put on one page (left and right)
usage: python 2-up.py input_file output_file
╭─ Arguments ─────────────────────────────────────────────────────────────────╮
│ * pdf PATH [default: None] [required] │
│ * out PATH [default: None] [required] │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰─────────────────────────────────────────────────────────────────────────────╯
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
pdfly-0.2.7.tar.gz
(14.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
pdfly-0.2.7-py3-none-any.whl
(10.8 kB
view details)
File details
Details for the file pdfly-0.2.7.tar.gz.
File metadata
- Download URL: pdfly-0.2.7.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b412f5dd165fcbd79ae3a1fb418f2cfd1c0d0235091c65751e6ed2bdeaa11695
|
|
| MD5 |
4c31226759e9490980fd100c90dd53ab
|
|
| BLAKE2b-256 |
cc9a8b8e584bd28b66d09a25a5a4bdd2394fabd290ad0ddbb82b67b34ce70681
|
File details
Details for the file pdfly-0.2.7-py3-none-any.whl.
File metadata
- Download URL: pdfly-0.2.7-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
117139d0868ccc0019496120f96ef4048ce34a33575bf27f2d62602e343a2d0c
|
|
| MD5 |
21325ced87fcfa35eb9b31c6c947282b
|
|
| BLAKE2b-256 |
80d5b144b7b62497af7d9f53b15538ba0470084901c922879274a37e02e73c6d
|