commonmark
Python parser for the CommonMark Markdown spec
Decision gist · record as of 2026-08-14
No. The package is abandoned with no active maintenance and the repository is archived. While it has no known security vulnerabilities and low install friction, the lack of maintenance makes it unsuitable for new projects. Install only if you are maintaining legacy code that already depends on it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with low friction.
- However, the package is now abandoned—the repository is archived and the last commit was 2026-05-29.
- No active maintenance is occurring.
License · maintenance · safety
BSD-3-Clause (permissive) — Licensed under BSD-3-Clause (permissive), which allows commercial and private use with minimal restrictions, requiring only that the license and copyright notice be included.
last release 2026-05-28 (78 days) · last repo commit 2026-05-29 · 236 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,997,233 downloads/mo, #1,992 on PyPI
Alternatives
Verify before relying
pip install commonmark
import commonmark
parser = commonmark.Parser()
ast = parser.parse("Hello *World*")
renderer = commonmark.HtmlRenderer()
html = renderer.render(ast)- Whether the CommonMark spec version supported by 0.9.2 remains adequate for current use cases
- Migration path and compatibility with recommended alternatives
What it is and what it does
commonmark.py is a pure Python implementation of the CommonMark Markdown specification, ported from the original JavaScript commonmark.js. It parses Markdown text into an abstract syntax tree and can render that tree to HTML, JSON, or formatted AST output. The package includes both a Python API and a command-line tool (cmark) for processing Markdown files.
The package depends only on future for Python 2/3 compatibility. However, it is now deprecated and abandoned—the repository is archived with no active maintenance. The maintainers recommend using an alternative for new projects.
Use it for
- Convert Markdown files to HTML in a legacy codebase that already uses commonmark.py
- Parse Markdown to inspect or manipulate the abstract syntax tree programmatically
- Render Markdown to JSON for downstream processing or analysis
- Use the cmark command-line tool to batch-convert Markdown documentation to HTML
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned with no active maintenance and the repository is archived. While it has no known security vulnerabilities and low install friction, the lack of maintenance makes it unsuitable for new projects. Install only if you are maintaining legacy code that already depends on it.
Install
commonmark on PyPI
Before you install
Installation is straightforward with low friction. However, the package is now abandoned—the repository is archived and the last commit was 2026-05-29. No active maintenance is occurring.
License in practice
Licensed under BSD-3-Clause (permissive), which allows commercial and private use with minimal restrictions, requiring only that the license and copyright notice be included.
Quickstart
pip install commonmark
import commonmark
parser = commonmark.Parser()
ast = parser.parse("Hello *World*")
renderer = commonmark.HtmlRenderer()
html = renderer.render(ast)
Verify before relying
- Whether the CommonMark spec version supported by 0.9.2 remains adequate for current use cases
- Migration path and compatibility with recommended alternatives
Package facts
| License | BSD-3-Clause permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagefuture |
| Maintenance | Abandoned 78 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 5,997,233 / month, #1,992 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: Other EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: DocumentationTopic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: DocumentationTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: MarkupTopic :: Utilities |
Evidence: commonmark-0.9.2-py2.py3-none-any.whl
Tags
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 › “commonmark spec implementation”
- commonmarkParses Markdown text according to the CommonMark specification and…
- markoMarko is a pure Python markdown parser that converts markdown text to…
- pyromarkpyromark is a CommonMark-compliant Markdown parser that converts…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
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.
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.
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.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
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…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also markdown-it-py · marko · multimark · mistletoe · cmarkgfm · markdown-it-pyrs · comrak · pyromark · mdurl · mdit-plain