A pure-python CLI application to manipulate PDF files
Project description
cpdf
cpdf is a pure-python cli application for manipulating PDF files.
Installation
pip install -U cpdf
As cpdf is an application, you might want to install it with pipx.
Usage
$ cpdf --help
Usage: cpdf [OPTIONS] COMMAND [ARGS]...
cpdf 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.
extract-images Extract images from PDF without resampling or altering.
You can see the help of every subcommand by typing:
$ cpdf 2-up --help
Usage: cpdf 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 [required]
OUT [required]
Options:
--help Show this message and exit.
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
cpdf-0.0.7.tar.gz
(7.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
cpdf-0.0.7-py3-none-any.whl
(8.3 kB
view details)
File details
Details for the file cpdf-0.0.7.tar.gz.
File metadata
- Download URL: cpdf-0.0.7.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d39b9b447c42f7a2e0185781ef8d441791eacc2cd4f46f103126a2659c354e5e
|
|
| MD5 |
ab08b871ab12c51552bfbd888311c437
|
|
| BLAKE2b-256 |
72cdfb8ca61b75f6848744c4dc06a6515b1c8e4be0735e4f39925e68f29f7382
|
File details
Details for the file cpdf-0.0.7-py3-none-any.whl.
File metadata
- Download URL: cpdf-0.0.7-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2eda1b7dbd9e961f489d4b318338614c78c549ff9da2941406a94c273d68884f
|
|
| MD5 |
bcbd28ca7269a5f058dcd4833397d878
|
|
| BLAKE2b-256 |
578037162b735a9e6ea31fcffe1688e3d6b03f081efaf6d011edf9e0e1d19968
|