FindSoftware

Pygments

Python syntax highlighter for source code, usable as a library and as a command-line tool, with HTML among its output formats.

Pygments is a Python library and command-line tool that highlights source code. Its output formats include HTML, RTF, LaTeX and ANSI sequences. The README names code hosting sites, forums and wikis as the places that need to prettify source code.

Worth knowing

The README’s security section says Pygments gives no guarantee on execution time for arbitrary input. It recommends that a web service highlighting user input ends each run after a short timeout and limits how many run at once.

Identity

Status
Active
Maintainer
Georg Brandl4
Maintained by
Individual4
First release
20065

Rendering and deploy

Install with
pip1

Releases

Current major version
27
Last release
2026-08-177

Adoption

GitHub stars
2,2232
Contributors
3878

Why these figures do not compare

Sources

  1. 2026-11-16: links, Install with
    pygments.org/
  2. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/pygments/pygments
  3. 2026-11-16: links
    pygments.org/docs/
  4. 2026-11-16: Maintainer, Maintained by, Categories, License
    github.com/pygments/pygments/blob/master/README.rst
  5. 2026-11-16: First release
    pypi.org/pypi/pygments/json
  6. 2026-11-16: Runtime, Minimum runtime
    github.com/pygments/pygments/blob/2.21.0/pyproject.toml
  7. 2026-11-16: Current major version, Last release
    api.github.com/repos/pygments/pygments/releases
  8. 2026-11-16: Contributors
    api.github.com/repos/pygments/pygments/contributors

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON