## Install
```bash
pip install pdf-suite
```
## Features
- Merge pdf files in one.
- PDF to Images.
- Compress PDF.
## Usage
### Merge
Merges multiple PDF files into one.
```bash
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.
```bash
pdf_suite merge --input input --output output --order file1,file2,file3
```
#### Output
An `ouput.pdf` file will be generated in `/output` directory.
### PDF to Images
Extract images from your PDF file.
```bash
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.
```bash
pdf_suite compress --input input.pdf --output output.pdf
```
#### Compress to a maximum size
You can specify the maximum size (MB) you need.
```bash
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/faissaloux/pdf-suite",
"name": "pdf-suite",
"maintainer": null,
"docs_url": null,
"requires_python": "<4,>=3.10",
"maintainer_email": null,
"keywords": "pdf, merge pdf, pdf to image, compress pdf",
"author": "Faissal Wahabali",
"author_email": "fwahabali@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f3/c0/6965afe9cbbeeeb7d93753e68d2057822bf1643e100c80c2658ba7788959/pdf_suite-0.2.0.tar.gz",
"platform": null,
"description": "## Install\r\n```bash\r\npip install pdf-suite\r\n```\r\n\r\n## Features\r\n- Merge pdf files in one.\r\n- PDF to Images.\r\n- Compress PDF.\r\n\r\n## Usage\r\n\r\n### Merge\r\nMerges multiple PDF files into one.\r\n\r\n```bash\r\npdf_suite merge -i input -o output\r\n```\r\n\r\n#### In order\r\nTo merge your files in a specific order, you need to pass the order you want to `--order` option.\r\n\r\n```bash\r\npdf_suite merge --input input --output output --order file1,file2,file3\r\n```\r\n\r\n#### Output\r\nAn `ouput.pdf` file will be generated in `/output` directory.\r\n\r\n### PDF to Images\r\nExtract images from your PDF file.\r\n\r\n```bash\r\npdf_suite pdf2img --input input.pdf --output images_directory\r\n```\r\n\r\n#### Output\r\nAn `images_directory` directory will be generated with all images from `file.pdf`.\r\n\r\n### Compress PDF\r\nCompress a PDF file.\r\n\r\n```bash\r\npdf_suite compress --input input.pdf --output output.pdf\r\n```\r\n\r\n#### Compress to a maximum size\r\nYou can specify the maximum size (MB) you need.\r\n\r\n```bash\r\npdf_suite compress --input input.pdf --output output.pdf --max 2\r\n```\r\n\r\n`input.pdf` will be compressed to `output.pdf` with less than 2MB.\r\n\r\n#### Output\r\nA compressed PDF file `output.pdf` will be generated for you.\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "PDF CLI tool that allows to merge, extractimages, compress and more from PDF documents.",
"version": "0.2.0",
"project_urls": {
"Author": "https://www.faissaloux.com",
"Homepage": "https://github.com/faissaloux/pdf-suite",
"Source": "https://github.com/faissaloux/pdf-suite"
},
"split_keywords": [
"pdf",
" merge pdf",
" pdf to image",
" compress pdf"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "5bf1775a050407c7047dd05c0fe0241c0c20823ac9963da8eb553be73dc1f44c",
"md5": "388d3931d34c51133592c21dfea2a14a",
"sha256": "f7514f9835b01628d76eb59ee0a329f2430c6542782067ce5a019e106c051418"
},
"downloads": -1,
"filename": "pdf_suite-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "388d3931d34c51133592c21dfea2a14a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.10",
"size": 2930,
"upload_time": "2025-08-14T17:06:16",
"upload_time_iso_8601": "2025-08-14T17:06:16.661138Z",
"url": "https://files.pythonhosted.org/packages/5b/f1/775a050407c7047dd05c0fe0241c0c20823ac9963da8eb553be73dc1f44c/pdf_suite-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "f3c06965afe9cbbeeeb7d93753e68d2057822bf1643e100c80c2658ba7788959",
"md5": "9a7c1eaee86b751bcb65e1fb91deaba1",
"sha256": "44b365d9dc1ce1dadec633b633313a34c93f3db2a417d80b236f862fd0d118d9"
},
"downloads": -1,
"filename": "pdf_suite-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "9a7c1eaee86b751bcb65e1fb91deaba1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.10",
"size": 2756,
"upload_time": "2025-08-14T17:06:19",
"upload_time_iso_8601": "2025-08-14T17:06:19.133341Z",
"url": "https://files.pythonhosted.org/packages/f3/c0/6965afe9cbbeeeb7d93753e68d2057822bf1643e100c80c2658ba7788959/pdf_suite-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-14 17:06:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "faissaloux",
"github_project": "pdf-suite",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pdf-suite"
}