antsibull-docs-parser
Python library for processing Ansible documentation markup
What it is and what it does
antsibull-docs-parser is a Python library that extracts and repackages the Ansible documentation markup processing code from the larger antsibull-docs project. It was separated out to allow other projects to parse Ansible's documentation format without pulling in all of antsibull-docs's transitive dependencies. The library handles the parsing and interpretation of Ansible's custom markup syntax used in its documentation.
The package is production-stable, actively maintained, and supports Python 3.9 through 3.13. It has no runtime dependencies, making it lightweight to integrate. It is primarily intended for developers building tools that need to read or transform Ansible documentation, or for the Ansible project's own tooling ecosystem.
Use it for:
- Parse Ansible module and plugin documentation markup in external tools without depending on the full antsibull-docs stack
- Build documentation generation or transformation pipelines that work with Ansible's native markup format
- Integrate Ansible documentation processing into CI/CD workflows or documentation aggregation systems
- Develop linters or validators for Ansible documentation that need to understand its markup structure
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python library for parsing and processing Ansible documentation markup, extracted from antsibull-docs to enable reuse without its full dependency chain.
Yes, if you need to parse Ansible documentation markup in a Python project. It is actively maintained, has no runtime dependencies, supports current Python versions, and is production-stable. The copyleft GPL-3.0-or-later license requires that derivative works be licensed compatibly, so verify this aligns with your project's licensing before use.
Install
antsibull-docs-parser on PyPI
pip
pip install antsibull-docs-parseruv
uv add antsibull-docs-parserpoetry
poetry add antsibull-docs-parserInstalling antsibull-docs-parser
Before you install
Low install friction with no runtime dependencies. Actively maintained as of 2025-09-28, with recent commits and production-stable status.
License in practice
Dual-licensed under GPL-3.0-or-later and BSD-2-Clause. The GPL-3.0-or-later component is copyleft, requiring derivative works to be licensed under compatible terms.
Quickstart
pip install antsibull-docs-parser==1.2.2
import antsibull_docs_parser
# Use the library to parse Ansible documentation markup
Requires Python 3.9 or later.
Verify before relying
- What specific Ansible documentation markup syntax this library parses (RST, YAML, or other formats)
- Whether this library is intended for end-user documentation processing or primarily for Ansible project tooling
- Performance characteristics or limits on documentation size/complexity
Package facts
| License | GPL-3.0-or-later AND BSD-2-Clause (copyleft) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 320 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 361,660/month — #7,236 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: antsibull_docs_parser-1.2.2-py3-none-any.whl
Tags
More Markup packages
PyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
markdown-it-pyA Python markdown parser that converts markdown…
permissive · top 100 on PyPI
beautifulsoup4Beautiful Soup parses HTML and XML documents…
permissive · top 100 on PyPI
et-xmlfileet_xmlfile writes large XML files with minimal…
permissive · top 1,000 on PyPI
tomlkitParses and edits TOML files while preserving…
permissive · top 1,000 on PyPI
docstring-parserParses Python docstrings in ReST, Google,…
permissive · top 1,000 on PyPI
antsibull-docsBuilds and generates Ansible documentation from…
copyleft · top 15,000 on PyPI
antsibull-docutilsProvides docutils helpers and utilities for…
copyleft · top 15,000 on PyPI
antsibull-fileutilsProvides file utility functions for Ansible…
copyleft · top 15,000 on PyPI
antsibull-coreProvides core library utilities and tooling…
copyleft · top 15,000 on PyPI
antsibull-changelogantsibull-changelog is a CLI tool that…
copyleft · top 15,000 on PyPI
ansibleAnsible is an IT automation system that handles…
copyleft · top 5,000 on PyPI
ansible-pygmentsProvides a Pygments lexer and style for…
permissive · top 15,000 on PyPI
ansible-creatorA CLI tool that scaffolds new Ansible projects…
permissive · top 15,000 on PyPI
ansible-lintansible-lint checks Ansible playbooks and roles…
copyleft · top 5,000 on PyPI
araARA Records Ansible records and reports on…
unclear · top 15,000 on PyPI