Skip to main content

A powerful Python library and CLI for PDF processing.

Project description

Ultimate PDF

A powerful, dependency-light Python CLI for everyday PDF tasks — merge, split, compress, rotate, encrypt/decrypt, and inspect PDF files from your terminal.

Built on pypdf and PyMuPDF, with a Typer interface.

Installation

pip install ultimate-pdf

Requires Python 3.10+.

Usage

After installing, the ultimate-pdf command is available:

ultimate-pdf --help
ultimate-pdf version

Merge

Combine multiple PDFs into one:

ultimate-pdf merge a.pdf b.pdf c.pdf --output merged.pdf

Split

Split a PDF by page ranges, every N pages, or selected pages:

# One file per page range (writes into a directory)
ultimate-pdf split input.pdf --pages 1-3 --output out_dir/

# Every 2 pages into a separate file
ultimate-pdf split input.pdf --every 2 --output out_dir/

# Only selected pages
ultimate-pdf split input.pdf --select 1,3,5 --output out_dir/

Compress

Reduce file size:

ultimate-pdf compress input.pdf --output smaller.pdf
# Omit --output to write '<input>_compressed.pdf'

Rotate

Rotate pages by 90, 180, or 270 degrees:

ultimate-pdf rotate input.pdf --angle 90 --output rotated.pdf
# Rotate only specific pages
ultimate-pdf rotate input.pdf --angle 180 --pages 1,2 --output rotated.pdf

Encrypt / Decrypt

ultimate-pdf encrypt input.pdf --password secret --output locked.pdf
ultimate-pdf decrypt locked.pdf --password secret --output unlocked.pdf

Info

Show metadata and page count:

ultimate-pdf info input.pdf

License

MIT — see LICENSE.

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

ultimate_pdf-0.1.0.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ultimate_pdf-0.1.0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file ultimate_pdf-0.1.0.tar.gz.

File metadata

  • Download URL: ultimate_pdf-0.1.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for ultimate_pdf-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e0dbb9e89382091d021c77c14abdf3f060574705e163486ea892b263ffb1220e
MD5 81e223815cff0e908fc3e1d990c2098f
BLAKE2b-256 ef76c8e50826b5b57146a7bedcb7621a7ea70a77e9e0acd42953d8eb1d036eec

See more details on using hashes here.

File details

Details for the file ultimate_pdf-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ultimate_pdf-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for ultimate_pdf-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 efc01eb54feec33044a70aabb2d846850e066706de312f7f52e3f7010728a752
MD5 a1c2b7ff90a3c056faa66874b86d4754
BLAKE2b-256 7a88c51963ca8adab168733480deeb600361ced80a1060977265414d64635571

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page