{"library":"pygments-styles","title":"pygments-styles","description":"A curated collection of Pygments styles based on VS Code themes. Current version 0.3.0, released on an as-needed basis (latest update: 2026-04-02). Requires Python >=3.9.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install pygments-styles"],"cli":null},"imports":["from pygments_styles import PygmentsStylesRegistry","from pygments_styles import list_styles","from pygments_styles import get_style_by_name"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from pygments import highlight\nfrom pygments.lexers import PythonLexer\nfrom pygments.formatters import HtmlFormatter\nfrom pygments_styles import get_style_by_name\n\ncode = 'print(\"Hello, World!\")'\nstyle = get_style_by_name('github-dark')\nformatter = HtmlFormatter(style=style)\nresult = highlight(code, PythonLexer(), formatter)\nprint(result)","lang":"python","description":"Quickstart: get a style by name and use it with Pygments.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}