Skip to main content

PDF CLI tool that allows to merge, extractimages, compress and more from PDF documents.

Project description

Install

pip install pdf-suite

Features

  • Merges multiple PDF files / images into one PDF file.
  • PDF to Images.
  • Compress PDF.
  • Convert DOCX to PDF.
  • PDF pages count.
  • PDF thumbnail.

Usage

Merge

Merges multiple PDF files / images into one PDF file (output.pdf).

pdf_suite merge -i input -o output.pdf

In order

To merge your files in a specific order, you need to pass the order you want to --order option.

pdf_suite merge --input input --output output.pdf --order file1.pdf,file2,file3.jpg

Output

An ouput.pdf file will be generated in /output directory.

PDF to Images

Extract images from your PDF file.

pdf_suite pdf2img --input input.pdf --output images_directory

Zip extracted images from your PDF file using --zip.

pdf_suite pdf2img --input input.pdf --output images_directory --zip

You can also extract images from specific page.

pdf_suite pdf2img --input input.pdf --output images_directory --page 2

Output

An images_directory directory will be generated with all images from file.pdf.

Compress PDF

Compress a PDF file.

pdf_suite compress --input input.pdf --output output.pdf

Compress to a maximum size

You can specify the maximum size (MB) you need.

pdf_suite compress --input input.pdf --output output.pdf --max 2

input.pdf will be compressed to output.pdf with less than 2MB.

Output

A compressed PDF file output.pdf will be generated for you.

Convert DOCX to PDF

Convert DOCX document to a PDF.

pdf_suite docx2pdf --input input.docx --output output.pdf

PDF pages count

Get PDF document pages count.

pdf_suite pagescount --input input.pdf

PDF thumbnail

Extract pdf document thumbnail.

pdf_suite thumbnail --input input.pdf --output output.jpeg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pdf_suite-0.10.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file pdf_suite-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: pdf_suite-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for pdf_suite-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f30c8707d8506bd194f4f2f6f5541f68780eee57e74c1a896c578792177e4eb8
MD5 9cf852e97dd1e5702cecee6cb5190068
BLAKE2b-256 417251fa496c8b370da101696c12593e8ecfd324bec790330102904333cd4df5

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