pdf-cli
pdfcli is a command line utility to work with pdf.
It is able to split,join,reorder,extract text .
$ pdf --help
Usage: pdf [OPTIONS] COMMAND [ARGS]...
Options:
--version
--help Show this message and exit.
Commands:
decrypt Remove password protection from PDF files.
encrypt Add password protection to PDF files.
extract extract one or multiple pages and build a new document.
info dump pdf information.
join join multiple pdf together in a single file.
ocr Extract text from PDF using OCR (requires tesseract)
rotate Rotate selected pages and outputs in new pdf
split split pdf into multiple single page file.
watermark use first page of pdf and add it as watermark to other document
Examples
Extract pages 1, and from 5 to 9 one file for page
pdf split source.pdf -p 1,5-9
Create a new pdf using pages 1, and from 5 to 9
pdf extract source.pdf -p 1,5-9 -o new.pdf
Release files for pdf-cli 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pdf_cli-1.0.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdf_cli-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.4 kB
Release files / pdf_cli-1.0.tar.gz
| Download URL | pdf_cli-1.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3fdb70af7157a58e8c7313f4094b0da039bb2f9eb58e446c874df73bef47cca
|
|
BLAKE2b-256 checksum How to use checksums |
b321ed693faabca9255cba694b07e9f283ec6a5a8492dac9248c69738b5bea45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 1, 2025.
Transparency logRelease files / pdf_cli-1.0-py3-none-any.whl
| Download URL | pdf_cli-1.0-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48e07a0cfe647c725af93f6bf4929b90e5ff6dace0a5b7cb95931a73640480cb
|
|
BLAKE2b-256 checksum How to use checksums |
6350d0f498695a5f7b565ad891efd1af86fc2794f04f3755b7b0f26d5bf953ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 1, 2025.
Transparency log