{"library":"Pygments","type":"library","category":null,"description":"Pygments is a generic syntax highlighting library written in Python, supporting over 500 languages and text formats with output in HTML, LaTeX, RTF, SVG, image formats, and ANSI terminal sequences. It can be used both as a library and as the `pygmentize` CLI tool. Current version is 2.19.2. Releases are made periodically with new lexers added each minor version; patch releases fix regressions quickly (2.19.1 and 2.19.2 followed 2.19.0 within weeks).","language":"python","status":"active","version":"2.19.2","tags":["syntax-highlighting","lexer","formatter","html","terminal","cli","code","documentation"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install Pygments","imports":["from pygments import highlight","from pygments.lexers import PythonLexer","from pygments.lexers import get_lexer_by_name","from pygments.lexers import get_lexer_for_filename","from pygments.lexers import guess_lexer","from pygments.formatters import HtmlFormatter","from pygments.util import ClassNotFound","from pygments.styles import get_all_styles","from pygments.lexer import RegexLexer"]},{"cmd":"pip install Pygments[windows-terminal]","imports":[]}],"homepage":"https://pygments.org","github":"https://github.com/pygments/pygments","docs":"https://pygments.org/docs","changelog":"https://github.com/pygments/pygments/blob/master/CHANGES","pypi":"https://pypi.org/project/Pygments/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.1,"avg_import_s":0,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/Pygments/compatibility"}}