Metadata-Version: 2.1
Name: pygmentize-faster
Version: 1.0.1
Summary: Provides a faster version of pygmentize
Home-page: https://github.com/joouha/pygmentize-faster
License: MIT
Keywords: pygments
Author: Josiah Outram Halstead
Author-email: josiah@halstead.email
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: pygments-cache (>=0.1.3,<0.2.0)
Description-Content-Type: text/markdown

# Pygmentize Faster

This package uses [pygments-cache](https://github.com/xonsh/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`:

```bash

$ 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

```

