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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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