Install & Compatibility
Where this runs
tested against v0.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 26.6MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 2.2s · import 0.000s · 27MB
25MB installed
● package 25MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
PygmentsStylesRegistry
✓ from pygments_styles import PygmentsStylesRegistry
✗ from pygments_styles import PygmentsStylesRegistry
Quickstart: get a style by name and use it with Pygments.
from pygments import highlight
from pygments.lexers import PythonLexer
from pygments.formatters import HtmlFormatter
from pygments_styles import get_style_by_name
code = 'print("Hello, World!")'
style = get_style_by_name('github-dark')
formatter = HtmlFormatter(style=style)
result = highlight(code, PythonLexer(), formatter)
print(result)
Upgrade
Version history
0.3.0latest on PyPI · released Nov 4, 2025
Audit
Dependencies
No dependency data recorded yet.