Ghostscript (gs) binary distribution
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ghostscript_bin-1.1.0.tar.gz.
File metadata
- Download URL: ghostscript_bin-1.1.0.tar.gz
- Upload date:
- Size: 77.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4d5b016770ee3657675720c025ea8b6d4be3dfbf01cf1518e7b5a73f8fe50b1
|
|
| MD5 |
47103b25f563651c0cac71e0b70957d2
|
|
| BLAKE2b-256 |
a82d15d117d71c526e9c6c8a89a102f8a4df1e5f415af0ef261f91d2763c30a8
|
Provenance
The following attestation bundles were made for ghostscript_bin-1.1.0.tar.gz:
Publisher:
cd.yaml on elohmeier/ghostscript-bin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ghostscript_bin-1.1.0.tar.gz -
Subject digest:
a4d5b016770ee3657675720c025ea8b6d4be3dfbf01cf1518e7b5a73f8fe50b1 - Sigstore transparency entry: 982791867
- Sigstore integration time:
-
Permalink:
elohmeier/ghostscript-bin@242fec722abeedabee463ca2fa450f6461beab96 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/elohmeier
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yaml@242fec722abeedabee463ca2fa450f6461beab96 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file ghostscript_bin-1.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: ghostscript_bin-1.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 12.8 MB
- Tags: CPython 3.14, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dbbdf7097eeab66f658d4004809daaf6153cf1c429d325fdc8681ac1a1c2b8d
|
|
| MD5 |
b8723fa23aed08dd77f2702fdb9f5ec7
|
|
| BLAKE2b-256 |
6dfe25f1286506f8dec8b74df71f64948b3ff27bfe74915997df0388e5161889
|
Provenance
The following attestation bundles were made for ghostscript_bin-1.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
cd.yaml on elohmeier/ghostscript-bin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ghostscript_bin-1.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
5dbbdf7097eeab66f658d4004809daaf6153cf1c429d325fdc8681ac1a1c2b8d - Sigstore transparency entry: 982791879
- Sigstore integration time:
-
Permalink:
elohmeier/ghostscript-bin@242fec722abeedabee463ca2fa450f6461beab96 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/elohmeier
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yaml@242fec722abeedabee463ca2fa450f6461beab96 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file ghostscript_bin-1.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: ghostscript_bin-1.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 12.7 MB
- Tags: CPython 3.14, manylinux: glibc 2.17+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
303ebe89586c021b9cb4258e7bbced1fefd2f8247bb0059b9f7fdcda7f740c81
|
|
| MD5 |
802d78ee7facef396105171cb2b06d63
|
|
| BLAKE2b-256 |
96ed934f1c9adda2d991de853dacac37b0df76f51c9fd949094a00d715544191
|
Provenance
The following attestation bundles were made for ghostscript_bin-1.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:
Publisher:
cd.yaml on elohmeier/ghostscript-bin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ghostscript_bin-1.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl -
Subject digest:
303ebe89586c021b9cb4258e7bbced1fefd2f8247bb0059b9f7fdcda7f740c81 - Sigstore transparency entry: 982791883
- Sigstore integration time:
-
Permalink:
elohmeier/ghostscript-bin@242fec722abeedabee463ca2fa450f6461beab96 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/elohmeier
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yaml@242fec722abeedabee463ca2fa450f6461beab96 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file ghostscript_bin-1.1.0-cp314-cp314-macosx_11_0_arm64.whl.
File metadata
- Download URL: ghostscript_bin-1.1.0-cp314-cp314-macosx_11_0_arm64.whl
- Upload date:
- Size: 12.3 MB
- Tags: CPython 3.14, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d40448e842fddc6de491c2982563f6f3f82bb8d4bdb91101860dff6cecf1e8ea
|
|
| MD5 |
5897644419601bed578dfc7a88ce5b9a
|
|
| BLAKE2b-256 |
e35fcb46d6206250c1db4b9559b50742b3b97d066e086afcb62f475b55e5b94e
|
Provenance
The following attestation bundles were made for ghostscript_bin-1.1.0-cp314-cp314-macosx_11_0_arm64.whl:
Publisher:
cd.yaml on elohmeier/ghostscript-bin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ghostscript_bin-1.1.0-cp314-cp314-macosx_11_0_arm64.whl -
Subject digest:
d40448e842fddc6de491c2982563f6f3f82bb8d4bdb91101860dff6cecf1e8ea - Sigstore transparency entry: 982791885
- Sigstore integration time:
-
Permalink:
elohmeier/ghostscript-bin@242fec722abeedabee463ca2fa450f6461beab96 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/elohmeier
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yaml@242fec722abeedabee463ca2fa450f6461beab96 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file ghostscript_bin-1.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: ghostscript_bin-1.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 12.8 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f32e4d97c93d2434a22340d5e28127e2a5b4fbcd1a7822a0b3322c3500aaf25f
|
|
| MD5 |
26ef3732abc26a2142d68a5b1426ae29
|
|
| BLAKE2b-256 |
d43c589322ad938b8b10645ad1c02f38693999e5c30e114408d23d18956a3967
|
Provenance
The following attestation bundles were made for ghostscript_bin-1.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
cd.yaml on elohmeier/ghostscript-bin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ghostscript_bin-1.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
f32e4d97c93d2434a22340d5e28127e2a5b4fbcd1a7822a0b3322c3500aaf25f - Sigstore transparency entry: 982791872
- Sigstore integration time:
-
Permalink:
elohmeier/ghostscript-bin@242fec722abeedabee463ca2fa450f6461beab96 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/elohmeier
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yaml@242fec722abeedabee463ca2fa450f6461beab96 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file ghostscript_bin-1.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: ghostscript_bin-1.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 12.7 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bf701f04026436f2514d16222f8e781fc02820bbc0cebd7ea8364a9dc56f164
|
|
| MD5 |
c0fa7b8e0e6fbf7eb05e6521cedd129c
|
|
| BLAKE2b-256 |
170e8b30e8951a3c6c09dd972fad6a9b477c445f312760511171bbecc982b1ab
|
Provenance
The following attestation bundles were made for ghostscript_bin-1.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:
Publisher:
cd.yaml on elohmeier/ghostscript-bin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ghostscript_bin-1.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl -
Subject digest:
2bf701f04026436f2514d16222f8e781fc02820bbc0cebd7ea8364a9dc56f164 - Sigstore transparency entry: 982791875
- Sigstore integration time:
-
Permalink:
elohmeier/ghostscript-bin@242fec722abeedabee463ca2fa450f6461beab96 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/elohmeier
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yaml@242fec722abeedabee463ca2fa450f6461beab96 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file ghostscript_bin-1.1.0-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: ghostscript_bin-1.1.0-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 12.3 MB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6e8643ef09719a4af36af067decd8f12c6cc52b9e3c73e5e315dbe7e0264f60
|
|
| MD5 |
82af1eafe72aa189f36b937b36dcb643
|
|
| BLAKE2b-256 |
64c6644870ad67e0a6a97874edd89d357e9069fca0d9462adc373edd4dc4d519
|
Provenance
The following attestation bundles were made for ghostscript_bin-1.1.0-cp313-cp313-macosx_11_0_arm64.whl:
Publisher:
cd.yaml on elohmeier/ghostscript-bin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ghostscript_bin-1.1.0-cp313-cp313-macosx_11_0_arm64.whl -
Subject digest:
f6e8643ef09719a4af36af067decd8f12c6cc52b9e3c73e5e315dbe7e0264f60 - Sigstore transparency entry: 982791889
- Sigstore integration time:
-
Permalink:
elohmeier/ghostscript-bin@242fec722abeedabee463ca2fa450f6461beab96 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/elohmeier
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yaml@242fec722abeedabee463ca2fa450f6461beab96 -
Trigger Event:
workflow_run
-
Statement type: