gs-pdf-compress


Namegs-pdf-compress JSON
Version 0.2.1 PyPI version JSON
download
home_pageNone
SummaryCompress PDF files with Ghostscript
upload_time2025-07-18 23:29:09
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseNone
keywords compression ghostscript pdf python qt qt6
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PDFCompress

Compress PDF files using Ghostscript.

# Requirements

* Python 3
* PyQT 6
* Ghostscript

# Installation

## Archlinux

`$ yay -S gs-pdf-compress`

## from PyPI

`$ pipx install gs-pdf-compress`

## from source or wheel package

`$ pipx install <package_file>`

# Usage

## Command line

```
$ ./pdfcompress.py -h
usage: pdfcompress.py [-h] [-i INPUT] [-o OUTPUT] [-c {screen,ebook,prepress,printer,default}]
[-f] [--version]Compress a PDF file using Ghostscript.options:
-h, --help            show this help message and exit
-i, --input INPUT     Path to the input PDF file (default: None)
-o, --output OUTPUT   Path to the output compressed PDF file (default: None)
-c, --compression {screen,ebook,prepress,printer,default}
Compression level: default, screen (72 dpi), ebook (150 dpi), printer
(300 dpi), prepress (highest) (default: default)
-f, --force           Force overwrite of output file without confirmation (default: False)
--version             show program's version number and exit
```

## QT Interface

![screenshot](https://lorteau.fr/pdfcompress/screenshot.png)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "gs-pdf-compress",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "compression, ghostscript, pdf, python, qt, qt6",
    "author": null,
    "author_email": "Clem Lorteau <spam@lorteau.fr>",
    "download_url": "https://files.pythonhosted.org/packages/6b/1a/f3df04e8481943129d181ce8049725657ee572444e9b248757037700d697/gs_pdf_compress-0.2.1.tar.gz",
    "platform": null,
    "description": "# PDFCompress\n\nCompress PDF files using Ghostscript.\n\n# Requirements\n\n* Python 3\n* PyQT 6\n* Ghostscript\n\n# Installation\n\n## Archlinux\n\n`$ yay -S gs-pdf-compress`\n\n## from PyPI\n\n`$ pipx install gs-pdf-compress`\n\n## from source or wheel package\n\n`$ pipx install <package_file>`\n\n# Usage\n\n## Command line\n\n```\n$ ./pdfcompress.py -h\nusage: pdfcompress.py [-h] [-i INPUT] [-o OUTPUT] [-c {screen,ebook,prepress,printer,default}]\n[-f] [--version]Compress a PDF file using Ghostscript.options:\n-h, --help            show this help message and exit\n-i, --input INPUT     Path to the input PDF file (default: None)\n-o, --output OUTPUT   Path to the output compressed PDF file (default: None)\n-c, --compression {screen,ebook,prepress,printer,default}\nCompression level: default, screen (72 dpi), ebook (150 dpi), printer\n(300 dpi), prepress (highest) (default: default)\n-f, --force           Force overwrite of output file without confirmation (default: False)\n--version             show program's version number and exit\n```\n\n## QT Interface\n\n![screenshot](https://lorteau.fr/pdfcompress/screenshot.png)\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Compress PDF files with Ghostscript",
    "version": "0.2.1",
    "project_urls": {
        "Homepage": "https://github.com/clorteau/pdfcompress",
        "Issues": "https://github.com/clorteau/pdfcompress/issues"
    },
    "split_keywords": [
        "compression",
        " ghostscript",
        " pdf",
        " python",
        " qt",
        " qt6"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "db406e0d151c416736e9370b55f8675af6b8cd9df539c01bb51d384b1f37fcfd",
                "md5": "8d1b646aec06e467f5d6dc4cc0030e07",
                "sha256": "45d8faf61d3ea5a689966caf09e3716b1f6e133f07ef3b4d551d429939d21606"
            },
            "downloads": -1,
            "filename": "gs_pdf_compress-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8d1b646aec06e467f5d6dc4cc0030e07",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 10805,
            "upload_time": "2025-07-18T23:29:08",
            "upload_time_iso_8601": "2025-07-18T23:29:08.159622Z",
            "url": "https://files.pythonhosted.org/packages/db/40/6e0d151c416736e9370b55f8675af6b8cd9df539c01bb51d384b1f37fcfd/gs_pdf_compress-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6b1af3df04e8481943129d181ce8049725657ee572444e9b248757037700d697",
                "md5": "e3fc290b247740b8fbb5a313006eeb9a",
                "sha256": "3ec2c6f9d9d4d0e57bf773f6f567476f95320c56244a808c60f6eb39177154e1"
            },
            "downloads": -1,
            "filename": "gs_pdf_compress-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "e3fc290b247740b8fbb5a313006eeb9a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 7863,
            "upload_time": "2025-07-18T23:29:09",
            "upload_time_iso_8601": "2025-07-18T23:29:09.214760Z",
            "url": "https://files.pythonhosted.org/packages/6b/1a/f3df04e8481943129d181ce8049725657ee572444e9b248757037700d697/gs_pdf_compress-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-18 23:29:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "clorteau",
    "github_project": "pdfcompress",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "gs-pdf-compress"
}
        
Elapsed time: 1.13535s