MagicStack/MagicPython
Cutting edge Python syntax highlighter for Sublime Text, Atom and Visual Studio Code. Used by GitHub to highlight your Python code! observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3981
- days_rel: n/a
- days_push: 924
- n_releases_24m: 0
Adoption not part of the score
1443 stars · 98 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
MagicPython is a syntax highlighting package for Python 3 (with Python 2 support) built for Sublime Text, Atom, and Visual Studio Code. It accurately highlights modern Python features like type annotations, f-strings, and regular expressions, and is the default Python highlighter in VS Code and GitHub.
Use cases
- highlight python type annotations correctly in my editor
- fix f-string syntax highlighting in sublime text
- get accurate python regex highlighting in vscode
- replace the default python syntax package in atom
- highlight modern python 3 keywords and magic methods
- use the same python grammar across multiple editors
When to choose
- you need accurate highlighting of Python 3 features like type hints, f-strings, and raw strings
- you use Sublime Text, Atom, or VS Code and want a robust, well-tested Python grammar
- you want a drop-in replacement for the default Python syntax package
When to avoid
- you use an editor outside Sublime Text, Atom, or VS Code
- you are a VS Code user who already has the default highlighter and doesn't need the cutting-edge version
- you need highlighting for languages other than Python
Facets
plugin · maturity stable
editor developer-tools developer-tools text-editors programming-languages editor-plugin cross-platform syntax-highlighting python sublime-text atom vscode textmate-grammar
1 source
- readme: https://github.com/MagicStack/MagicPython · fetched 2026-08-28 · 122d85d836de
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| MagicStack/MagicPython | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="MagicStack/MagicPython")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem