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
Metadata
Release files for pdf-suite 0.10.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdf_suite-0.10.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pdf_suite-0.10.2-py3-none-any.whl
| Download URL | pdf_suite-0.10.2-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db09a93a2ebd5cad284da40ff80c18762a782fe035864bc1175291700285b627
|
|
BLAKE2b-256 checksum How to use checksums |
b26389f6bdd21d0e454e5ad4740a6a939a3528627a18956b58e88d8f187b02c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|