Skip to content
PluginStats

MagicPython installs statistics

By MagicStack Inc. (2 listings) · VS Code Marketplace · Programming Languages

Syntax highlighter for cutting edge Python.

View on VS Code Marketplace Fresh · Dec 6, 2026

MagicPython has 4,519,078 recorded installs on VS Code Marketplace, an increase of 0.2% over the past 30 days, ranking #192 of 2,515 tracked listings.

Installs
4,519,078
Official API · Dec 6, 2026
7-day growth
+0.0%
+1.4K installs
30-day growth
+0.2%
+7.3K installs
90-day growth
—
Insufficient history
Rank
#192
Among tracked VS Code Marketplace listings

Rating: 3.33 / 5 from 12 ratings

About MagicPython

Magic Python Build Status apm Package Control VSM

This is a package with preferences and syntax highlighter for cutting edge Python 3, although Python 2 is well supported, too. The syntax is compatible with Sublime Text, Atom and Visual Studio Code. It is meant to be a drop-in replacement for the default Python package.

We are proud to say that MagicPython is used by GitHub to highlight Python.

Attention VSCode users: MagicPython is used as the default Python highlighter in Visual Studio Code. Don't install it unless you want or need the cutting edge version of it. You will likely see no difference because you're already using MagicPython.

MagicPython correctly highlights all Python 3 syntax features, including type annotations, f-strings and regular expressions. It is built from scratch for robustness with an extensive test suite.

Type hints in comments require support by the color scheme. The one used in the screenshot is Chromodynamics.

Installation Instructions

This is meant to be a drop-in replacement for the default Python package.

In Atom, install the MagicPython package and disable the built-in language-python package.

In Sublime Text, install MagicPython package via "Package Control" and disable the built-in Python package (using Package Control -> Disable Package, or directly by adding "Python" to "ignored_packages" in the settings file).

In VSCode, starting with version 0.10.1, install MagicPython with Install Extension command.

Alternatively, the package can be installed manually in all editors:

  • copy the MagicPython package into the Sublime/Atom/VSCode user packages directory;
  • disable Python package;
  • enjoy.

Changes and Improvements

The main motivation behind this package was the difficulty of using modern Python with other common syntax highlighters. They do a good job of the 90% of the language, but then fail on the nuances of some very useful, but often overlooked features. Function annotations tend to freak out the highlighters in various ways. Newly introduced keywords and magic methods are slow to be integrated. Another issue is string highlighting, where all raw strings are often assumed to be regular expressions or special markup used by .format is completely ignored. Bumping into all of these issues on daily basis eventually led to the creation of this package.

Overall, the central idea is that it should be easy to notice something odd or special about the code. Odd or special doesn't necessarily mean incorrect, but certainly worth the explicit attention.

Annotations

Annotations should not break the highlighting. They should be no more difficult to read at a glance than other code or comments.

A typical case is having a string annotation that spans several lines by using implicit string concatenation. Multi-line strings are suboptimal for use in annotations as it may be highly undesirable to have odd indentation and extra whitespace in the annotation string. Of course, there is no problem using line continuation or even having comments mixed in with implicit string concatenation. All of these will be highlighted as you'd expect in any other place in the code.

def some_func(a,                        # nothing fancy here, yet

              b: 'Annotation: '         # implicitly
                 '"foo" for Foo, '      # concatenated
                 '"bar" for Bar, '      # annotation
                 '"other" otherwise'='otherwise'):

A more advanced use case for annotations is to actually have complex expressions in them, such as lambda functions, tuples, lists, dicts, sets, comprehensions. Admittedly, all of these might be less frequently used, but when they are, you can rely on them being highlighted normally in all their glorious details.

# no reason why this should cause the highlighter to break
#
def some_func(a:
                 # annotation starts here
                 lambda x=None:
                    {key: val
                        for key, val in
                            (x if x is not None else [])
                    }
                    # annotation ends here and below is the default for 'a'
                    =42):

Result annotations are handled as any other expression would be. No reason to worry that the body of the function would look messed up.

# no reason why this should cause the highlighter to break
#
def some_func() -> {
                     'Some',        # comments
                     'valid',       # are
                     'expression'   # good
                   }:
Strings

Strings are used in many different ways for processing and presenting data. Making the highlighter more friendly towards these uses can help you concentrate your efforts on what matters rather than visual parsing.…

Description from the VS Code Marketplace listing.

  • highlighter
  • MagicPython
  • python
  • python3
  • syntax

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

MagicPython installs on VS Code Marketplace, last 90 days: 4,519,078 installs as of Dec 6, 2026.MagicPythonInstalls on VS Code Marketplace · Last 90 days4,519,078installs4.5M4.5M4.5M4.5M4.5M4.5M4.5M4.5M4.5MSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
MagicPython installs on VS Code Marketplace, last 90 days: 4,519,078 installs as of Dec 6, 2026.

7/30/90-day growth

MagicPython installs growth on VS Code Marketplace: +0.0% over 7 days, +0.2% over 30 days, 90-day growth unavailable.MagicPythonInstalls growth on VS Code Marketplace4,519,078installs now7-day growth+1,440 installs+0.0%30-day growth+7,252 installs+0.2%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
MagicPython installs growth on VS Code Marketplace: +0.0% over 7 days, +0.2% over 30 days, 90-day growth unavailable.

Ranking history

MagicPython VS Code Marketplace ranking history: currently #192 (by installs).MagicPythonVS Code Marketplace ranking · by installs · Last 90 days#192current rank#188#189#190#191#192#193#194Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
MagicPython VS Code Marketplace ranking history: currently #192 (by installs).

Ratings over time

MagicPython ratings on VS Code Marketplace, last 90 days: 12 ratings as of Dec 6, 2026.MagicPythonRatings on VS Code Marketplace · Last 90 days12ratings10.51111.51212.51313.5Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
MagicPython ratings on VS Code Marketplace, last 90 days: 12 ratings as of Dec 6, 2026.

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,259 shown · page 10, #12 (overall #192)
All VS Code Marketplace: every listing in installs order

Listing placement

Programming Languages795 listings · 40 pages · page 5, #2 (overall #82)
Programming Languages: every listing in installs order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (50)
Recent installs observations for MagicPython
Date (UTC)InstallsChange vs. previous
4,519,078+162
4,518,916+131
4,518,785+188
4,518,597+203
4,518,394+313
4,518,081+230
4,517,851+213
4,517,638+209
4,517,429+213
4,517,216+269
4,516,947+240
4,516,707+263
4,516,444+345
4,516,099—

Similar VS Code Marketplace Programming Languages plugins

All 20 MagicPython alternatives

Data source

Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.

Listing: https://marketplace.visualstudio.com/items?itemName=magicstack.MagicPython. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.