Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ghostscript_bin-1.1.0.tar.gz (77.0 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ghostscript_bin-1.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (12.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

ghostscript_bin-1.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (12.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

ghostscript_bin-1.1.0-cp314-cp314-macosx_11_0_arm64.whl (12.3 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

ghostscript_bin-1.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (12.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

ghostscript_bin-1.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (12.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

ghostscript_bin-1.1.0-cp313-cp313-macosx_11_0_arm64.whl (12.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Hashes for ghostscript_bin-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a4d5b016770ee3657675720c025ea8b6d4be3dfbf01cf1518e7b5a73f8fe50b1
MD5 47103b25f563651c0cac71e0b70957d2
BLAKE2b-256 a82d15d117d71c526e9c6c8a89a102f8a4df1e5f415af0ef261f91d2763c30a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghostscript_bin-1.1.0.tar.gz:

Publisher: cd.yaml on elohmeier/ghostscript-bin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

File hashes

Hashes for ghostscript_bin-1.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5dbbdf7097eeab66f658d4004809daaf6153cf1c429d325fdc8681ac1a1c2b8d
MD5 b8723fa23aed08dd77f2702fdb9f5ec7
BLAKE2b-256 6dfe25f1286506f8dec8b74df71f64948b3ff27bfe74915997df0388e5161889

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

File hashes

Hashes for ghostscript_bin-1.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 303ebe89586c021b9cb4258e7bbced1fefd2f8247bb0059b9f7fdcda7f740c81
MD5 802d78ee7facef396105171cb2b06d63
BLAKE2b-256 96ed934f1c9adda2d991de853dacac37b0df76f51c9fd949094a00d715544191

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ghostscript_bin-1.1.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ghostscript_bin-1.1.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d40448e842fddc6de491c2982563f6f3f82bb8d4bdb91101860dff6cecf1e8ea
MD5 5897644419601bed578dfc7a88ce5b9a
BLAKE2b-256 e35fcb46d6206250c1db4b9559b50742b3b97d066e086afcb62f475b55e5b94e

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

File hashes

Hashes for ghostscript_bin-1.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f32e4d97c93d2434a22340d5e28127e2a5b4fbcd1a7822a0b3322c3500aaf25f
MD5 26ef3732abc26a2142d68a5b1426ae29
BLAKE2b-256 d43c589322ad938b8b10645ad1c02f38693999e5c30e114408d23d18956a3967

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

File hashes

Hashes for ghostscript_bin-1.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2bf701f04026436f2514d16222f8e781fc02820bbc0cebd7ea8364a9dc56f164
MD5 c0fa7b8e0e6fbf7eb05e6521cedd129c
BLAKE2b-256 170e8b30e8951a3c6c09dd972fad6a9b477c445f312760511171bbecc982b1ab

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ghostscript_bin-1.1.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ghostscript_bin-1.1.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f6e8643ef09719a4af36af067decd8f12c6cc52b9e3c73e5e315dbe7e0264f60
MD5 82af1eafe72aa189f36b937b36dcb643
BLAKE2b-256 64c6644870ad67e0a6a97874edd89d357e9069fca0d9462adc373edd4dc4d519

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page