lepture/mistune
A fast yet powerful Python Markdown parser with renderers and plugins. observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 98
- Release rhythm 94
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 24.5
- age_days: 4579
- days_rel: 42
- days_push: 12
- n_releases_24m: 13
Adoption not part of the score
3065 stars · 296 forks observed · 2026-08-28
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-08-28 · 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 | 97 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem