Registry / serialization / pyromark

pyromark

JSON →
library0.9.13pypypiunverified

pyromark (stands for Python Rust Optimized Markdown) is a blazingly fast CommonMark-compliant Markdown parser for Python. It leverages the `pulldown-cmark` Rust crate under the hood for high performance, often outperforming other Python Markdown libraries significantly. The library is actively maintained and releases new versions periodically. It's designed for speed, including releasing the GIL for better threading performance.

pip install -U pyromark
INSTALL
IMPORT
SIG · PYROMARK
P
pyromark
serializationpythonv0.9.13
Install
2.0s avg
Import
3ms
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.9.13 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.920 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.5MB
glibc
py 3.103.920 runs
installs and imports cleanly · install 2.0s · import 0.001s · 19MB
17MB installed
● package 17MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

markdown
import pyromark html = pyromark.markdown('**Hello**, *world*!')
The primary function `markdown` is directly available on the `pyromark` module.

Parse a Markdown string to an HTML string using the default CommonMark options.

import pyromark markdown_text = """ # My Title This is some **bold** and *italic* text. - Item 1 - Item 2 ```python print('Hello, Pyromark!') ``` """ html_output = pyromark.markdown(markdown_text) print(html_output)
Debug
Known issues
gotchaBe aware of naming collision: 'PyroMark' (with a capital 'P') is also a trademark for biotechnology instruments and reagents from QIAGEN. Ensure you are installing and using `pyromark` (lowercase 'p') for Markdown parsing, not the QIAGEN products.
fix
Always use `pip install pyromark` and `import pyromark`. Double-check documentation for the correct library if uncertain.
affects: All versions
gotchapyromark requires Python 3.10 or newer. Installing on older Python versions will fail.
fix
Ensure your Python environment is running Python 3.10 or a later version. Upgrade Python if necessary.
affects: <=0.9.10
gotchaWhile pyromark is written in Rust and releases the GIL, this benefit is primarily for CPU-bound tasks in a multi-threaded Python application. For single-threaded applications or I/O-bound tasks, the performance gains from GIL release might not be as pronounced.
fix
Understand your application's concurrency model. For optimal performance in a multi-threaded CPU-bound scenario, ensure your application design leverages the GIL release.
affects: All versions
Upgrade
Version history
0.9.13latest on PyPI · released Jun 13, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources