ghostscript-bin
Ghostscript (gs) binary distribution for Python. Install via pip, get a working gs command.
pip install ghostscript-bin
Usage
Command line
gs --version
gs -sDEVICE=pdfwrite -o output.pdf input.ps
Python API
import ghostscript_bin
# Path to the bundled gs binary
ghostscript_bin.gs_path()
# Version string
ghostscript_bin.version()
# Run gs with arguments (wraps subprocess.run)
ghostscript_bin.run(["-sDEVICE=pdfwrite", "-o", "output.pdf", "input.ps"])
Included devices
pdfwrite, ps2write, eps2write, bbox, txtwrite, inkcov, png (all variants), jpeg, tiff (all variants), pbm/pgm/pnm/ppm (all variants), and nullpage.
How it works
The package builds Ghostscript from source using scikit-build-core and CMake's ExternalProject. The binary is compiled with COMPILE_INITS=1 (the default), which embeds all Resource, Init, Font, CMap, and ICC files directly into the binary. This means the installed package is a single self-contained gs executable with no external dependencies beyond system libc.
Platforms
Pre-built wheels are available for:
- Linux x86_64 (manylinux)
- Linux aarch64 (manylinux)
- macOS arm64
License
AGPL-3.0-or-later (same as Ghostscript itself). See LICENSE.
Metadata
Release files for ghostscript-bin 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ghostscript_bin-1.1.0.tar.gz | 77.0 MB | With provenance | Details |
Built distributions (wheels)
Total release size: 152.7 MB
Release files / ghostscript_bin-1.1.0.tar.gz
| Download URL | ghostscript_bin-1.1.0.tar.gz |
|---|---|
| Size | 77.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4d5b016770ee3657675720c025ea8b6d4be3dfbf01cf1518e7b5a73f8fe50b1
|
|
BLAKE2b-256 checksum How to use checksums |
a82d15d117d71c526e9c6c8a89a102f8a4df1e5f415af0ef261f91d2763c30a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 23, 2026.
Transparency logRelease files / ghostscript_bin-1.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | ghostscript_bin-1.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 12.8 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
5dbbdf7097eeab66f658d4004809daaf6153cf1c429d325fdc8681ac1a1c2b8d
|
|
BLAKE2b-256 checksum How to use checksums |
6dfe25f1286506f8dec8b74df71f64948b3ff27bfe74915997df0388e5161889
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 23, 2026.
Transparency logRelease files / ghostscript_bin-1.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | ghostscript_bin-1.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 12.7 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
303ebe89586c021b9cb4258e7bbced1fefd2f8247bb0059b9f7fdcda7f740c81
|
|
BLAKE2b-256 checksum How to use checksums |
96ed934f1c9adda2d991de853dacac37b0df76f51c9fd949094a00d715544191
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 23, 2026.
Transparency logRelease files / ghostscript_bin-1.1.0-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | ghostscript_bin-1.1.0-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 12.3 MB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d40448e842fddc6de491c2982563f6f3f82bb8d4bdb91101860dff6cecf1e8ea
|
|
BLAKE2b-256 checksum How to use checksums |
e35fcb46d6206250c1db4b9559b50742b3b97d066e086afcb62f475b55e5b94e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 23, 2026.
Transparency logRelease files / ghostscript_bin-1.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | ghostscript_bin-1.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 12.8 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
f32e4d97c93d2434a22340d5e28127e2a5b4fbcd1a7822a0b3322c3500aaf25f
|
|
BLAKE2b-256 checksum How to use checksums |
d43c589322ad938b8b10645ad1c02f38693999e5c30e114408d23d18956a3967
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 23, 2026.
Transparency logRelease files / ghostscript_bin-1.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | ghostscript_bin-1.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 12.7 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
2bf701f04026436f2514d16222f8e781fc02820bbc0cebd7ea8364a9dc56f164
|
|
BLAKE2b-256 checksum How to use checksums |
170e8b30e8951a3c6c09dd972fad6a9b477c445f312760511171bbecc982b1ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 23, 2026.
Transparency logRelease files / ghostscript_bin-1.1.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | ghostscript_bin-1.1.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 12.3 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f6e8643ef09719a4af36af067decd8f12c6cc52b9e3c73e5e315dbe7e0264f60
|
|
BLAKE2b-256 checksum How to use checksums |
64c6644870ad67e0a6a97874edd89d357e9069fca0d9462adc373edd4dc4d519
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 23, 2026.
Transparency logSecurity for ghostscript-bin 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 7 files in this release have been uploaded with provenance metadata.
Attestation for ghostscript_bin-1.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.