Skip to main content

Provides a faster version of pygmentize

Project description

Pygmentize Faster

This package uses pygments-cache to run pygmentize just a little bit faster.

It overrides the pygmentize script provided by pygments.

Benkmarks

pygmentize-faster runs about twice as fast as pygmentize:

$ time fd -d1 -j1 '.py$' -x python -m pygmentize {} > /dev/null ';' /usr/lib/python3.10
user=65.25s system=7.81s cpu=98% total=1:14.45

$ time fd -d1 -j1 '.py$' -x python -m pygmentize_faster {} > /dev/null ';' /usr/lib/python3.10
user=33.61s system=4.96s cpu=99% total=38.663

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

pygmentize-faster-1.0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

pygmentize_faster-1.0.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file pygmentize-faster-1.0.1.tar.gz.

File metadata

  • Download URL: pygmentize-faster-1.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.15 CPython/3.10.6 Linux/5.19.3-arch1-1

File hashes

Hashes for pygmentize-faster-1.0.1.tar.gz
Algorithm Hash digest
SHA256 490cbc44974f06a2021d46744a79fb26bbfd0ebc93839d5e20e4a1d7ecd7f6fa
MD5 860b3d1eee5751ffce81b1785713c59e
BLAKE2b-256 8dc274ea1cf973f696b2e5ca5a1ab32cb11c345fa7306843590220da62b19e0f

See more details on using hashes here.

File details

Details for the file pygmentize_faster-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pygmentize_faster-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.15 CPython/3.10.6 Linux/5.19.3-arch1-1

File hashes

Hashes for pygmentize_faster-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e30354393679336529df11fd353c4da90f1e84cf2523ce7491f0f2d362406992
MD5 5561cf7c3ca4e9cce33f00c349c3ba29
BLAKE2b-256 1e2b93e71dc705383b89e45def93080e2255beec96630de9fef0c961d0d70a6d

See more details on using hashes here.

Supported by

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