$npx skillfedfor your agent

accessible-pygments

A collection of accessible pygments styles

Worth itPyPI Python ModulesReleased May 20245.4M downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — accessible_pygments-0.0.5-py3-none-any.whl
v0.0.5 · released 2024-05-10 · Python >=3.9 · 1 runtime deps: pygments

Yes. If you use Pygments for code highlighting and need WCAG 2.1 compliance, this package eliminates the need to design and validate color schemes yourself. Low install friction, no known vulnerabilities, permissive license, and active maintenance make it a straightforward addition to documentation or web projects. Skip it only if you have custom color requirements or don't need accessibility compliance.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires pygments to be installed; Pygments handles the actual syntax highlighting.
  • Low friction install with a single runtime dependency on pygments.
  • Actively maintained with recent commits; development status is Alpha but the package has been stable since its first release in 2022.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you can use, modify, and distribute this package freely in both open-source and proprietary projects with minimal restrictions.

last release 2024-05-10 (826 days) · last repo commit 2026-08-03 · 27 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,362,983 downloads/mo, #2,113 on PyPI

Verify before relying

pip install accessible-pygments

from pygments.formatters import HtmlFormatter
formatter = HtmlFormatter(style='a11y-light')
# Use formatter to highlight code with accessible theme
  • Whether all listed themes are fully tested for WCAG 2.1 compliance across all code language types.
  • Performance characteristics when rendering large code blocks with these themes.
Same gist for agents: .md · .json

What it is and what it does

accessible-pygments is a theme package for Pygments that bundles multiple syntax highlighting color schemes designed to meet WCAG 2.1 accessibility standards. It provides themes at both AAA (highest contrast) and AA (standard contrast) compliance levels, with several variants optimized for color-blind users. The package integrates directly with Pygments' HtmlFormatter and works as a Sphinx documentation plugin, allowing developers to apply accessible color schemes to code blocks in documentation, websites, and applications without writing custom CSS or color definitions.

The package includes themes derived from established open-source projects like GitHub's VSCode themes, pitaya-smoothie, and others, all validated for color contrast ratios. It's designed for developers building documentation systems, technical blogs, or code-heavy applications who need to ensure their syntax highlighting meets accessibility standards without manual color tuning.

Use it for

  • Apply WCAG-compliant syntax highlighting to Sphinx documentation by setting pygments_style in conf.py.
  • Highlight code snippets in web applications with guaranteed color contrast for users with low vision.
  • Use color-blind friendly themes when building documentation or tools for diverse audiences.
  • Replace default Pygments themes with accessible alternatives in existing code formatters.
  • Ensure code examples in educational materials meet accessibility standards for all learners.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

If you use Pygments for code highlighting and need WCAG 2.1 compliance, this package eliminates the need to design and validate color schemes yourself. Low install friction, no known vulnerabilities, permissive license, and active maintenance make it a straightforward addition to documentation or web projects. Skip it only if you have custom color requirements or don't need accessibility compliance.

Install

accessible-pygments on PyPI

Before you install

Low friction install with a single runtime dependency on pygments. Actively maintained with recent commits; development status is Alpha but the package has been stable since its first release in 2022.

Requires pygments to be installed; Pygments handles the actual syntax highlighting.

License in practice

BSD-3-Clause is permissive; you can use, modify, and distribute this package freely in both open-source and proprietary projects with minimal restrictions.

Quickstart

pip install accessible-pygments

from pygments.formatters import HtmlFormatter
formatter = HtmlFormatter(style='a11y-light')
# Use formatter to highlight code with accessible theme

Verify before relying

  • Whether all listed themes are fully tested for WCAG 2.1 compliance across all code language types.
  • Performance characteristics when rendering large code blocks with these themes.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pygments
MaintenanceActively maintained 826 days since the last release
Last repo commit
First released
Downloads5,362,983 / month, #2,113 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: 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.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: accessible_pygments-0.0.5-py3-none-any.whl

Tags

Capabilities
accessible pygments themeswcag compliant syntax highlightingcolor-blind friendly code themessphinx documentation themesaccessible code highlighting
Topics
accessibilitywcag-compliancesyntax-highlighting
PyPI keywords
SphinxWCAGa11yaccessibilitypygments

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 › “accessible pygments themes”

  • accessible-pygmentsProvides a collection of WCAG 2.1-compliant syntax highlighting…
  • pygments-stylesProvides a curated collection of Pygments syntax-highlighting color…
  • types-PygmentsProvides type hints for the Pygments syntax highlighting library,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also pygments-styles · jupyterlab-pygments · Pygments · ansible-pygments · ipython-pygments-lexers · fluent.pygments · Pallets-Sphinx-Themes · sphinx-rtd-dark-mode · types-Pygments · sphinx-immaterial