{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/19"},{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup/2"}],"enrichment":{"capability":"A Rust-backed Python Markdown parser that renders CommonMark, GitHub Flavored Markdown, and other dialects to HTML or AST, with a Python API compatible with markdown-it-py.","skillfed_tags":["rust-binding","markdown-parser","performance-focused"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"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."},"id":"markdown-it-pyrs","links":{"html":"https://skillfed.io/packages/markdown-it-pyrs","md":"https://skillfed.io/packages/markdown-it-pyrs.md","pypi":"https://pypi.org/project/markdown-it-pyrs/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-10-22","license_spdx":null,"license_treatment":"permissive","name":"markdown-it-pyrs","python_support":"supports_current","summary":"A Python interface for markdown-it.rs, using Rust for blazingly fast Markdown parsing \u26a1\ufe0f"},"popularity":{"monthly_downloads":122070,"position":11961,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.0"}
