Packages
Converts pandas DataFrames into styled HTML tables ready for email, with 12 built-in color themes and row-level formatting that works across email providers.
Zensical is a static site generator that converts Markdown documentation into a searchable, professionally-styled website with support for multiple languages and responsive design.
However, it's in Alpha status, so expect potential breaking changes; verify that its feature set and customization options match your needs before committing to a…
Extracts article content from HTML using either Mozilla's Readability.js or a pure-Python parser, returning structured data with title, byline, simplified HTML, and plain text representations.
Converts JSON data structures into HTML tables for human-readable display, with support for nested objects, arrays, and custom table attributes.
However, verify compatibility with your Python version first—the lack of updates since 2019 and unspecified Python support mean you may encounter issues on modern…
Minifies HTML, JavaScript, and CSS in a single pass using a Rust-based engine with Python bindings, optimized for both speed and compression ratio.
Extracts plain text from HTML while filtering out styles, scripts, comments, and normalizing whitespace intelligently to match browser rendering.
Converts HTML documents to plain text while preserving layout, supporting nested tables, CSS subset interpretation, and optional text annotation based on HTML structure.
Install it if you need text extraction from HTML where structure and layout matter; skip it if you only need basic text stripping.
Minifies HTML by removing unnecessary whitespace and comments while preserving functionality, with configurable safety features.
However, be cautious: the package is abandoned and may not work with Python versions released after 2021.
Converts HTML content into Microsoft Word documents (.docx format), either by adding HTML to existing documents or parsing HTML files and strings directly into new documents.
However, if you require active bug fixes, new HTML feature support, or compatibility assurance with the latest python-docx versions, consider whether the lack of…
Generates HTML5 markup programmatically using Python syntax instead of templates or string concatenation, with no external dependencies.
Install it if you prefer writing HTML in Python code rather than templates.
Extracts URLs from text by locating TLDs and expanding boundaries to find complete domain names, with optional DNS validation.
However, the last release was 897 days ago and maintenance is dormant—if you need active support or expect frequent TLD updates, verify that the cached list meets…
Converts MJML (a markup language for responsive emails) to HTML using a Rust-based implementation, with support for includes and custom parsing options.
Minifies HTML by removing unnecessary whitespace and comments while preserving functionality, with configurable safety options to prevent breaking changes.
Scrapling is a web scraping and crawling framework that handles single requests to full-scale crawls, with built-in anti-bot bypass, adaptive element relocation, proxy rotation, and concurrent spider support.
Install it if you need to scrape protected or dynamic websites at scale; skip it if you only need simple static HTML parsing.
A Markdown extension that converts PlantUML diagram syntax into rendered images (PNG, SVG, or text) embedded in HTML documents, using either a local PlantUML binary or a remote server.
htmltools provides Python functions to programmatically create, manipulate, and serialize HTML documents and fragments.
Install it if you need to build HTML dynamically from code rather than using string templates or a heavier templating framework.
Minifies HTML by removing whitespace and comments, reducing response size for faster client-side load times. Works as Django middleware, a decorator, a standalone function, or a command-line tool.
Parses HTML documents into tree structures compatible with RDFLib, implementing the WHATWG HTML specification and supporting multiple tree builders like xml.etree, lxml, and xml.dom.minidom.
However, the 653-day gap since last release combined with aging maintenance status suggests limited active development—suitable for stable use cases but verify that…
Newspaper3k downloads and extracts article text, metadata, images, and keywords from web pages and news sites, with support for multiple languages and multi-threaded processing.
Install it if you're building a news aggregator, content pipeline, or article analysis tool; skip it if you only need simple HTML parsing without article-specific…
Converts real-world HTML—including malformed tags, broken entities, and nested tables—into clean CommonMark or Djot Markdown in a single call, with optional metadata extraction.
MarkupPy generates HTML and XML markup from Python code using an intuitive, pythonic API without external dependencies.
Install it if you need to build markup from Python code without external dependencies or template syntax overhead.
Converts markdown documents to plain text by stripping formatting and rendering only the text content.
Great Tables transforms Pandas or Polars DataFrames into formatted, publication-quality HTML tables or images with headers, footers, column spanners, and cell-level formatting.
Extracts structured metadata from HTML markup in multiple formats: Microdata, JSON-LD, Microformats, Open Graph, RDFa, and Dublin Core.
Install it if you need to reliably extract structured metadata from HTML in production or research contexts.
Provides Font Awesome 6.2.0 icons as SVG elements for use in Shiny for Python applications.
The main caveat is dormant maintenance—no updates since 2024-01-16—so it is suitable for stable use but not for projects requiring active support or newer Font…
Reformats HTML and XML strings with intelligent inline-tag handling, avoiding the excessive line breaks that tools like BeautifulSoup.prettify() introduce between tags that should stay on the same line.
imgkit wraps the wkhtmltoimage command-line tool to convert HTML (from URLs, files, or strings) into image files using the Webkit rendering engine.
However, do not use it in production without understanding that no upstream maintenance is available—if wkhtmltoimage itself breaks or you encounter bugs in imgkit,…
Parses RDFa markup embedded in HTML documents and extracts structured RDF data using the RDFa 1.1 specification.
However, the original maintainer has retired and the package is now community-maintained with minimal activity (1 star, aging status, last commit in January 2026).
mf2py parses HTML documents to extract microformats2 data structures, with backwards compatibility for microformats1 and experimental metaformats support.
However, dormant maintenance (980 days since last release) means you should not expect bug fixes or spec updates; use it only for stable, well-established…
Hyperscript lets you generate HTML markup programmatically using Python function calls instead of writing HTML strings directly.
However, it is dormant—no active maintenance—so use it only for straightforward markup tasks where you do not expect ongoing support or feature additions.
DjHTML indents Django and Jinja template files containing mixed HTML, CSS, and JavaScript by adding or removing leading whitespace, without inserting newlines or reformatting content.
Converts MJML (a markup language for responsive emails) to HTML without requiring Node.js, using pure Python.
Compiles MJML email templates to HTML at runtime using an embedded Rust engine, without requiring Node.js, external APIs, or subprocesses.
Provides a curated list of valid HTML tag names across all HTML versions, from ancient tags like `nextid` to modern ones like `shadow` and `template`.
Provides a list of HTML void element tag names (self-closing tags like `br`, `img`, `input`) for validation or reference in HTML processing.
A Sphinx theme that extends PyData Sphinx Theme with NVIDIA branding and styling for documentation projects.
However, the proprietary license is restrictive—verify that your project qualifies as a 'NVIDIA product or service' before committing.
A client library for querying PyPI and pip-compatible repositories via the Simple Repository API (PEP 503 and related standards), retrieving project metadata, package files, and digests.
Install it if you need to query or download packages programmatically outside of pip's normal workflow.
Automate programmatic interaction with HTTP web servers by simulating a stateful browser—fill forms, follow links, manage history, and parse HTML without a GUI.
However, consider that maintenance is aging—last release was 840 days ago—so evaluate whether the package meets your Python version and modern web compatibility needs…
Extracts article text, metadata, and images from web pages and news sources, with support for multiple languages and automatic summarization.
The main gotcha is that bulk scraping can be slow and may trigger IP blocks on news sites; start with small batches and respect robots.txt.
Converts HTML content to Word documents (.docx), with support for styling, tables, images, and metadata.
Install it if you need to convert HTML to Word documents; the main limitation is fidelity of complex CSS styling, which is inherent to the Word format itself.