pygments-styles
A curated collection of Pygments styles based on VS Code themes.
Decision gist · record as of 2026-08-14
Yes, if you use Sphinx or MkDocs and want modern syntax highlighting without manual theme configuration. The package is lightweight, actively maintained, has no vulnerabilities, and carries a permissive license. Install it only if you actually need one of its themes; it adds no value if you're not using Pygments-based documentation tools.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction install with a single runtime dependency on pygments.
- Active maintenance with recent commits and no known vulnerabilities.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you can use, modify, and distribute this package with minimal restrictions, provided you include the license notice.
last release 2025-11-04 (283 days) · last repo commit 2026-08-13 · 8 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 185,079 downloads/mo, #10,016 on PyPI
Alternatives
Verify before relying
pip install pygments-styles
from pygments.styles import get_style_by_name
style = get_style_by_name('vs-code-theme-name')- How many distinct VS Code-based themes are included in the collection
- Whether themes are automatically synchronized with VS Code upstream or manually curated
- Integration complexity with Sphinx and MkDocs beyond the linked guides
What it is and what it does
pygments-styles is a theme package that extends pygments with a curated set of color schemes derived from VS Code themes. It's designed to make code blocks in documentation and other tools visually consistent with modern editor aesthetics. The package depends only on pygments and supports Python 3.9 through 3.14, making it compatible with current Python versions.
You install it alongside pygments and then reference its themes when configuring Sphinx, MkDocs, or other tools that use pygments for syntax highlighting. The package is actively maintained with recent commits and carries no known security vulnerabilities, making it a low-risk addition to documentation toolchains.
Use it for
- Configure Sphinx documentation projects to use VS Code-inspired syntax highlighting themes for code examples
- Apply consistent, modern color schemes to MkDocs sites without manually defining custom Pygments styles
- Enhance code block appearance in static site generators that rely on Pygments for syntax coloring
- Standardize syntax highlighting across multiple documentation projects using familiar VS Code aesthetics
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use Sphinx or MkDocs and want modern syntax highlighting without manual theme configuration.
The package is lightweight, actively maintained, has no vulnerabilities, and carries a permissive license. Install it only if you actually need one of its themes; it adds no value if you're not using Pygments-based documentation tools.
Install
pygments-styles on PyPI
Before you install
Low friction install with a single runtime dependency on pygments. Active maintenance with recent commits and no known vulnerabilities.
License in practice
BSD-3-Clause is permissive; you can use, modify, and distribute this package with minimal restrictions, provided you include the license notice.
Quickstart
pip install pygments-styles
from pygments.styles import get_style_by_name
style = get_style_by_name('vs-code-theme-name')
Verify before relying
- How many distinct VS Code-based themes are included in the collection
- Whether themes are automatically synchronized with VS Code upstream or manually curated
- Integration complexity with Sphinx and MkDocs beyond the linked guides
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepygments |
| Maintenance | Actively maintained 283 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 185,079 / month, #10,016 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: EducationLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Utilities |
Evidence: pygments_styles-0.3.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pygments color schemes”
- pygments-stylesProvides a curated collection of Pygments syntax-highlighting color…
- accessible-pygmentsProvides a collection of WCAG 2.1-compliant syntax highlighting…
- ansible-pygmentsProvides a Pygments lexer and style for syntax-highlighting Ansible…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also accessible-pygments · jupyterlab-pygments · ansible-pygments · fluent.pygments · sphinx-basic-ng · ipython-pygments-lexers · types-Pygments · Pallets-Sphinx-Themes · brand-yml