$npx skillfedfor your agent

markdown-it-pyrs

A Python interface for markdown-it.rs, using Rust for blazingly fast Markdown parsing ⚡️

With conditionsPyPI Python ModulesReleased Oct 2024122.1K downloads / mopermissive licensePlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — markdown_it_pyrs-0.4.0-cp310-cp310-macosx_10_12_x86_64.whl · markdown_it_pyrs-0.4.0-cp310-cp310-macosx_11_0_arm64.whl · markdown_it_pyrs-0.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
v0.4.0 · released 2024-10-22 · Python >=3.9

Yes, if you need fast Markdown parsing and can accept that plugins must be chosen at install time rather than added dynamically. The library is actively maintained, has no vulnerabilities, and offers a familiar API. Install friction is moderate due to compiled wheels, but prebuilt binaries cover common platforms. Not recommended if you require Python 3.8 support or dynamic plugin authorship in Python.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; no Python 3.8 support.
  • Medium install friction due to compiled wheels; prebuilt binaries available for CPython 3.10–3.12 on macOS, Linux, and Windows, but no pure-Python fallback.
  • Active maintenance with recent commits; currently in Beta status.

License · maintenance · safety

permissive license (permissive) — Licensed under Apache 2.0 (permissive); no restrictions on commercial or private use.

last release 2024-10-22 (661 days) · last repo commit 2026-08-10 · 63 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 122,070 downloads/mo, #11,961 on PyPI

Verify before relying

pip install markdown-it-pyrs

from markdown_it_pyrs import MarkdownIt

md = MarkdownIt("commonmark").enable("table")
html = md.render("# Hello, world!")
node = md.tree("# Hello, world!")
  • Whether PyPy wheels are actually available (classifiers list PyPy but friction_evidence shows only CPython wheels).
  • Current state of WASM/pyodide support mentioned as 'maybe not for long' in the description.
  • Whether the 20x speed claim versus markdown-it-py holds for typical real-world documents beyond the CommonMark spec.
Same gist for agents: .md · .json

What it is and what it does

markdown-it-pyrs wraps the Rust markdown-it.rs library to provide a fast Markdown parser for Python. It parses CommonMark, GitHub Flavored Markdown, and other dialects, rendering to HTML or an abstract syntax tree (Node tree). The API mirrors markdown-it-py, so existing code can often switch with minimal changes.

The main trade-off is speed for flexibility: because the parser is compiled Rust, you cannot write plugins in Python or add them dynamically at runtime. The library is currently in Beta and has no runtime dependencies beyond Python itself. It ships prebuilt wheels for modern CPython versions across common platforms, though installation requires a compatible wheel or a Rust build environment.

Use it for

  • Parse Markdown documents to HTML in performance-critical applications where speed matters more than dynamic plugin extensibility.
  • Convert Markdown to an AST for programmatic inspection, transformation, or custom rendering without writing a parser.
  • Enable GitHub Flavored Markdown features (tables, strikethrough, task lists) in a Python application with minimal setup.
  • Migrate from markdown-it-py to a faster alternative when profiling shows Markdown parsing is a bottleneck.
  • Render Markdown with built-in plugins like footnotes, front matter, or smart quotes without external dependencies.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need fast Markdown parsing and can accept that plugins must be chosen at install time rather than added dynamically.

The library is actively maintained, has no vulnerabilities, and offers a familiar API. Install friction is moderate due to compiled wheels, but prebuilt binaries cover common platforms. Not recommended if you require Python 3.8 support or dynamic plugin authorship in Python.

Install

markdown-it-pyrs on PyPI

Before you install

Medium install friction due to compiled wheels; prebuilt binaries available for CPython 3.10–3.12 on macOS, Linux, and Windows, but no pure-Python fallback. Active maintenance with recent commits; currently in Beta status.

Requires Python 3.9 or later; no Python 3.8 support.

License in practice

Licensed under Apache 2.0 (permissive); no restrictions on commercial or private use.

Quickstart

pip install markdown-it-pyrs

from markdown_it_pyrs import MarkdownIt

md = MarkdownIt("commonmark").enable("table")
html = md.render("# Hello, world!")
node = md.tree("# Hello, world!")

Verify before relying

  • Whether PyPy wheels are actually available (classifiers list PyPy but friction_evidence shows only CPython wheels).
  • Current state of WASM/pyodide support mentioned as 'maybe not for long' in the description.
  • Whether the 20x speed claim versus markdown-it-py holds for typical real-world documents beyond the CommonMark spec.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.9
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 661 days since the last release
Last repo commit
First released
Downloads122,070 / month, #11,961 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: RustTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: Markup

Evidence: markdown_it_pyrs-0.4.0-cp310-cp310-macosx_10_12_x86_64.whl; markdown_it_pyrs-0.4.0-cp310-cp310-macosx_11_0_arm64.whl; markdown_it_pyrs-0.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; markdown_it_pyrs-0.4.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; markdown_it_pyrs-0.4.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; markdown_it_pyrs-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; markdown_it_pyrs-0.4.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl; markdown_it_pyrs-0.4.0-cp310-none-win32.whl; markdown_it_pyrs-0.4.0-cp310-none-win_amd64.whl; markdown_it_pyrs-0.4.0-cp311-cp311-macosx_10_12_x86_64.whl; markdown_it_pyrs-0.4.0-cp311-cp311-macosx_11_0_arm64.whl; markdown_it_pyrs-0.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; markdown_it_pyrs-0.4.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; markdown_it_pyrs-0.4.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; markdown_it_pyrs-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; markdown_it_pyrs-0.4.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl; markdown_it_pyrs-0.4.0-cp311-none-win32.whl; markdown_it_pyrs-0.4.0-cp311-none-win_amd64.whl; markdown_it_pyrs-0.4.0-cp312-cp312-macosx_10_12_x86_64.whl; markdown_it_pyrs-0.4.0-cp312-cp312-macosx_11_0_arm64.whl

Tags

Capabilities
fast markdown parser pythonrust markdown renderingcommonmark gfm parsermarkdown to html convertermarkdown ast treemarkdown-it python bindinghigh-performance markdown
Topics
rust-bindingmarkdown-parserperformance-focused
PyPI keywords
markdownlexerparsercommonmarkmarkdown-it

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “rust markdown rendering”

  • markdown-it-pyrsA Rust-backed Python Markdown parser that renders CommonMark, GitHub…
  • comrakRenders CommonMark and GitHub Flavored Markdown to HTML or normalized…
  • cohere-melodyParses and renders templated text for Cohere language models,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also markdown-it-py · pymarkdownlnt · pyromark · comrak · commonmark · mistletoe · py-gfm · multimark · marko · mdit-py-plugins