pandoc
Pandoc Documents for Python
Decision gist · record as of 2026-08-14
Yes, if you need programmatic document manipulation with Pandoc's AST and are willing to manage the external Pandoc dependency. No, if you want active maintenance or Python version guarantees—the package is dormant and its compatibility with modern Pandoc versions is unverified. Install only if your Pandoc version is stable and you can tolerate no upstream support.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Pandoc command-line tool must be installed and available on the system PATH before the Python library can work.
- High install friction: requires the Pandoc command-line tool (pandoc-2.4 or later) to be installed separately before the Python library can function.
- Maintenance is dormant—last release was 737 days ago—so expect no active support or updates.
License · maintenance · safety
MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions, making it safe to adopt in most projects.
last release 2024-08-07 (737 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 756,864 downloads/mo, #5,138 on PyPI
Alternatives
Verify before relying
# Install Pandoc system tool first (e.g., conda install -c conda-forge pandoc)
# Then: pip install pandoc
import pandoc
doc = pandoc.read("Hello world!")
print(doc)- Whether the package works with recent Pandoc versions beyond 2.4, given the long dormancy.
- Python version compatibility details, as requires_python is unspecified in the metadata.
What it is and what it does
Pandoc Python Library is a Python wrapper around Pandoc's document model, allowing you to read, analyze, and write documents programmatically. It exposes Pandoc's internal representation—metadata, blocks, and inline elements—so you can manipulate document structure directly in Python code rather than shelling out to the command-line tool.
The package depends on plumbum for subprocess handling and ply for parsing. It requires the standalone Pandoc tool to be pre-installed on your system; the Python library itself is a thin interface over that external dependency. It's useful for document pipelines, bulk transformations, and programmatic document generation where you need fine-grained control over Pandoc's AST.
Use it for
- Batch convert documents between formats (Markdown to HTML, LaTeX to Docx) with Python control flow.
- Programmatically modify document structure—rewrite headings, filter content, inject metadata—before converting.
- Build documentation generators or static site builders that need to parse and transform Markdown or other formats.
- Analyze document structure and extract metadata or specific elements from multiple files.
- Integrate Pandoc's conversion capabilities into Python data pipelines or ETL workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need programmatic document manipulation with Pandoc's AST and are willing to manage the external Pandoc dependency.
No, if you want active maintenance or Python version guarantees—the package is dormant and its compatibility with modern Pandoc versions is unverified. Install only if your Pandoc version is stable and you can tolerate no upstream support.
Install
pandoc on PyPI
Before you install
High install friction: requires the Pandoc command-line tool (pandoc-2.4 or later) to be installed separately before the Python library can function. Maintenance is dormant—last release was 737 days ago—so expect no active support or updates.
Pandoc command-line tool must be installed and available on the system PATH before the Python library can work.
License in practice
MIT License permits commercial and private use with minimal restrictions, making it safe to adopt in most projects.
Quickstart
# Install Pandoc system tool first (e.g., conda install -c conda-forge pandoc)
# Then: pip install pandoc
import pandoc
doc = pandoc.read("Hello world!")
print(doc)
Verify before relying
- Whether the package works with recent Pandoc versions beyond 2.4, given the long dormancy.
- Python version compatibility details, as requires_python is unspecified in the metadata.
Package facts
| License | MIT License permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | 2 packagesplumbumply |
| Maintenance | Dormant 737 days since the last release |
| First released | |
| Downloads | 756,864 / month, #5,138 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/StableProgramming Language :: Python :: 3Topic :: Software DevelopmentTopic :: Text Editors :: Text Processing |
Evidence: pandoc-2.4.tar.gz
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 › “pandoc python wrapper”
- pandocPandoc Python Library wraps the Pandoc document model to analyze,…
- pyandocPyandoc wraps Pandoc to convert between document formats by reading…
- pypandoc-binarypypandoc_binary wraps pandoc, a universal document converter, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also pandocfilters · prosemirror · pyandoc · panflute · pypandoc · pypandoc-binary · spire-doc · mammoth · nbconvert · adf-lib