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.

Usage

Merge

Merges multiple PDF files / images into one PDF file.

pdf_suite merge -i input -o output

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 --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

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.

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

pdf_suite-0.3.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

pdf_suite-0.3.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file pdf_suite-0.3.1.tar.gz.

File metadata

  • Download URL: pdf_suite-0.3.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.1

File hashes

Hashes for pdf_suite-0.3.1.tar.gz
Algorithm Hash digest
SHA256 88621079b9314bb8b5031d7bc6a9ee8d21441e08d897d94ecabf91296da5ae98
MD5 3f752ee7c47b18b138499d27aacb1d89
BLAKE2b-256 a15e7bfbf0e2c89069130b883adc976d7596923be5907002d4815ab631b6cb42

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pdf_suite-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.1

File hashes

Hashes for pdf_suite-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c1fa0aab2d29d2b97755598c0dae2881bf2f58722ee7719f35554dcd78dac603
MD5 eb3c77f7ecf576a6bfd8a510d6893e3c
BLAKE2b-256 aea7b13b15e1540627ff178bac2136f7e0a8da52ea279c0b2e44e3e0d66057ec

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