lepture/mistune
A fast yet powerful Python Markdown parser with renderers and plugins. observed · 2026-10-20
Health v2 · maintenance only
100/100
- Activity 100
- Release rhythm 100
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 28
- age_days: 4627
- days_rel: 1
- days_push: 1
- n_releases_24m: 14
Adoption not part of the score
3078 stars · 326 forks observed · 2026-10-20
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Mistune is a fast, dependency-free Python Markdown parser compatible with sane CommonMark rules, offering pluggable renderers, built-in plugins, and directives. It converts Markdown to HTML or AST and includes command-line tools.
Use cases
- convert markdown to html in python
- parse markdown into an ast
- render markdown for a blog or documentation site
- extend markdown with custom plugins and directives
- convert markdown files from the command line
When to choose
- you need one of the fastest Python Markdown parsers with no external dependencies
- you want pluggable renderers, AST output, or built-in plugins like footnotes, math, and TOC
- you need a mature, actively maintained library with a stable v3 API
When to avoid
- you need strict full CommonMark compliance with mdast-compatible output - the author's newer Wenmode project targets that
- you need streaming output or maximum raw parsing speed beyond Mistune's benchmarks
- you need a Markdown parser outside the Python ecosystem
Facets
library · maturity stable
parser markdown templating cli web-development documentation parsers developer-tools python cli cross-platform markdown-parser commonmark html-renderer plugins no-dependencies
4 sources
- readme: https://github.com/lepture/mistune · fetched 2026-10-20 · afd32882fb33
- homepage: http://mistune.lepture.com/ · fetched 2026-08-29 · 6ed629b46d0d
- registry_pypi: https://pypi.org/pypi/mistune/json · fetched 2026-08-29 · e484d8c753a7
- site_page: https://mistune.lepture.com/en/latest/changes.html · fetched 2026-08-29 · 73e48596e4bf
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lepture/mistune | main | 100 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem