Subcategories
Packages
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.
A Python markdown parser that converts markdown to HTML following the CommonMark specification, with support for plugins and custom syntax rules.
Install it if you need reliable markdown-to-HTML conversion.
Beautiful Soup parses HTML and XML documents into a navigable tree, providing Pythonic methods to search, iterate, and modify the parsed content.
Install it if you need to parse or extract data from markup documents.
et_xmlfile writes large XML files with minimal memory overhead by serializing elements to disk as they are created, rather than holding the entire tree in memory.
Install it if incremental XML writing fits your use case; skip it if your XML documents are small or you already use lxml.
Parses and edits TOML files while preserving formatting, comments, and structure, then serializes them back with layout intact.
Install it if you're building tools that touch TOML files and user readability of the source matters.
Parses Python docstrings in ReST, Google, Numpydoc, and Epydoc formats, extracting structured information like descriptions, parameters, return types, and exceptions.
Install it if you need to programmatically read and extract structured data from Python docstrings.
Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.
Loads and dumps YAML 1.2 with round-trip preservation of comments, key order, and formatting style, supporting modern Python versions from 3.9 to 3.14.
Extends markdown-it-py with a collection of core plugins for additional markdown syntax and rendering capabilities.
Install it if you are using markdown-it-py and need the specific plugins it provides.
Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.
Renders reStructuredText documents as Rich terminal output, supporting headings, lists, tables, code blocks, links, and Sphinx roles for direct preview in the terminal or export to HTML.
Mistune converts Markdown text to HTML using a fast parser with support for renderers and plugins.
nbconvert converts Jupyter notebooks (.ipynb files) to static formats including HTML, LaTeX, PDF, Markdown, ReStructuredText, Reveal.js, and executable scripts via command-line or programmatic interface.
Install it if you need to convert notebooks to static formats or automate notebook publishing.
StrictYAML parses and validates YAML documents against a schema, rejecting unsafe YAML features and providing type-safe parsing with clear error messages.
However, note the aging maintenance status—last release was 2023-03-10—so verify compatibility with your Python version and consider whether the lack of recent…
Extracts, filters, sorts, and updates values in JSON data using JSONPath expressions, with zero third-party dependencies and pure Python string parsing.
Install it if you need practical JSONPath querying; if you require strict RFC 9535 compliance, verify the feature set first.
Parses and manages text files with YAML (or JSON, TOML) front matter, separating structured metadata from document content for easy access and manipulation.
Install it if you work with front-matter-delimited documents (Jekyll posts, static site content, or similar).
fpdf2 generates PDF documents programmatically in Python, supporting text, images, tables, barcodes, and basic HTML conversion with Unicode font embedding.
Provides type stubs for the Markdown package, enabling type checkers like mypy and pyright to validate code that uses Markdown.
Adds a custom YAML tag that lets you reference environment variables directly in YAML files, with support for fallbacks and type coercion.
Lints reStructuredText documents for structural errors and returns a list of violations with line numbers, severity levels, and messages.
Chevron renders Mustache templates in Python, converting template strings with data into final output. It supports partials, custom delimiters, and lambda functions for dynamic template logic.
Converts various file formats (PDF, Excel, Word, HTML, images, and others) to Markdown via a Python API or command-line tool.
Install it if you need to convert files to Markdown for indexing, analysis, or documentation pipelines.
Converts tabular data into formatted tables for output in multiple text, binary, and application-specific formats including Markdown, HTML, CSV, JSON, Excel, LaTeX, and SQLite.
Install it if you need to generate formatted tables in any of its supported output formats; skip it only if your use case is limited to a single format where a…
A Sphinx extension that adds responsive web component directives for building styled cards, grids, tabs, and other layout elements in documentation.
Install it if you want modern design aesthetics in your docs; skip it if you're comfortable with plain Sphinx styling or prefer hand-coded HTML.
PyYAML-ft is a YAML parser and emitter for Python 3.13 with support for free-threaded execution, allowing thread-safe YAML processing without the Global Interpreter Lock.
The aging maintenance status (430 days since last release) is acceptable given the package's stated purpose as a temporary fork pending upstream support; however,…
Provides ANSI color text output for console applications with automatic color selection based on terminal background (dark or light) across Linux, macOS, and Windows.
Banks is a template language and prompt management system for generating LLM prompts from blueprints, supporting chat message formatting, image inclusion, dynamic text generation via LLM calls, function calling, and prompt caching.
Install it if you're building LLM applications and want structured, versioned, reusable prompts; skip it if you're only calling LLMs with simple one-off strings.
MyST-Parser extends CommonMark-compliant Markdown with syntax for technical documentation, integrating with Sphinx to render MyST Markdown files as part of documentation builds.
Install it if you want to author Sphinx docs in Markdown or migrate an existing project away from reStructuredText.
Python wrapper for wkhtmltopdf that converts HTML to PDF using the Webkit rendering engine, supporting URLs, files, and HTML strings as input.
Marko is a pure Python markdown parser that converts markdown text to HTML while adhering to CommonMark specification v0.31.2, with built-in support for extensions like footnotes, table of contents, and syntax highlighting.
Install it if you need reliable spec-compliant markdown parsing; skip it if you prioritize raw parsing speed over standards compliance.
A self-balancing interval tree data structure that stores and queries overlapping or enveloped ranges, supporting point lookups, range overlaps, and range envelopment queries.
Install it if you need to store and query overlapping or enveloped ranges; the self-balancing design and rich query interface make it significantly easier than…
Renders formatted ASCII tables in terminal output from nested lists of strings, with support for multi-line rows and automatic column alignment.
selectolax is a fast HTML5 parser with CSS selector support, written in Cython and backed by either the Modest or Lexbor C parsing engines.
Parses Markdown text according to the CommonMark specification and renders it to HTML, JSON, or an abstract syntax tree using pure Python.
Install only if you are maintaining legacy code that already depends on it.
Extends PyYAML to include other YAML files into a current YAML document, with support for local files, wildcards, and remote sources via fsspec (HTTP, S3, SFTP, etc.).
However, the GPLv3+ copyleft license restricts use in proprietary closed-source projects—verify license compatibility before committing.
Converts between LaTeX code and Unicode text in both directions, parsing LaTeX markup into a logical structure and encoding Unicode strings into LaTeX escape sequences.
Install it if you work with LaTeX text processing, bibliographic data, or need bidirectional LaTeX-Unicode conversion.
Parsel extracts data from HTML, JSON, and XML documents using CSS selectors, XPath expressions, JMESPath queries, and regular expressions.
Install it if you need to extract data from HTML, XML, or JSON documents in a Python application.
Converts LaTeX mathematical expressions to MathML format, available as a Python library and command-line tool.
Install it if you need to convert LaTeX math to MathML; the main unknown is the breadth of LaTeX syntax it handles, which you should verify against your specific use…
Parses Azure Bicep infrastructure-as-code files into a structured representation using Lark, enabling programmatic analysis and manipulation of Bicep templates.
Converts HTML and CSS to PDF documents using Python, enabling developers with web skills to generate PDF templates without learning specialized PDF libraries.
However, the aging maintenance status (last release 537 days ago) warrants caution in production: verify that its rendering quality and feature set meet your specific…