Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

Mistune

Fast and extensible Markdown parser with plugin support.

Markdown, editors and content PyPI BSD

Used in agent projects
12
0.7% of 1,622 Python repos built with AI coding agents; 290 counting our dependency samples
Gid Score
64 /100
#514 of 3,794 tools, #24 in markdown, editors and content · ranking
Rank in markdown, editors and content
#47 of 125
by use in those projects
Downloads
15.9M
PyPI, last 7 days, mistune
GitHub stars
3,078
326 forks · last push Oct 19, 2026

How Mistune is used

Mistune is a dependency in 12 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 290 projects, and what it is used with below comes from all of them. The most used alternative in our scan is Markdown (46 projects). Projects that use it most often also use Jinja2 (97.9%), Beautiful Soup (94.5%), MarkupSafe (89.7%).

Mistune popularity over time

Top tools by Gid Score

Mistune: downloads per weekPyPI, mistune 15,775,952
Mistune: GitHub starslepture/mistune 3,078

Gid Score 64: downloads 89, use in agent projects 66, GitHub stars 30, downloads trend 58 (each 0-100). How it is calculated.

Often used with Mistune

Jinja297.9% of Mistune projects · 45.0× more than average
Beautiful Soup94.5% of Mistune projects · 43.8× more than average
MarkupSafe89.7% of Mistune projects · 121.0× more than average
attrs88.6% of Mistune projects · 127.9× more than average
NumPy88.6% of Mistune projects · 15.2× more than average
Requests88.6% of Mistune projects · 13.0× more than average
packaging87.6% of Mistune projects · 59.8× more than average
PyYAML87.6% of Mistune projects · 14.7× more than average

From all 290 projects in our scan that use Mistune, including the dependency samples.

By coding agent

Claude Code0.2% of projects set up for it
GitHub Copilot0.2% of projects set up for it

Share of public repos configured for each agent that list Mistune as a dependency.

How Mistune is funded

Most funded tools

GitHub Sponsors

@lepture4 current sponsors

GitHub shows how many people and companies sponsor an account, not how much they pay. Sponsors of a person back all of their work, which here includes Authlib, joserfc.

Ways to fund Mistune

GitHub Sponsors Patreon Tidelift Own page

As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.

Install

Packagepip install mistune
Main stacksPython (287), Next.js (3)
Example projectsassafelovic/gpt-researcher, Paper2Poster/Paper2Poster, BlackArbsCEO/Adv_Fin_ML_Exercises, rsanshierli/EasyBert, YuhangChen1/Paper2All

Alternatives to Mistune

All markdown, editors and content

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Mistune are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
Markdown pypi
Python implementation of Markdown parser for converting Markdown to HTML.
69 46 (2.8%) 26.6M 4,253 BSD-3-Clause
markdown-it-py pypi
Python port of markdown-it parser for CommonMark-compliant Markdown parsing.
68 46 (2.8%) 123M 1,378 MIT
markdown2 pypi
Fast, complete Python implementation of Markdown with extras.
52 2 (0.1%) 1.7M 2,823 MIT

More in Markdown, editors and content: react-markdown remark-gfm Marked Jinja2 gray-matter Tiptap Shiki highlight.js

Is Mistune right for your project? Ask AgentGid →