Packages
Beautiful Soup parses HTML and XML documents into a navigable tree, allowing you to search, iterate, and modify the parsed structure using Python idioms.
Install only if you are maintaining legacy code that cannot be updated and have no other option; for any new project, use beautifulsoup4.
Click Extra is a wrapper around Click that adds configuration file loading, colored help screens, standard CLI options, and theming to make building professional command-line tools faster and with less boilerplate.
z3c.pt is a fast ZPT (Zope Page Template) engine that compiles templates to bytecode using Chameleon, providing page template rendering with path expressions and TALES support.
Reads, edits, and creates HWPX documents (Korean word processor format) in pure Python without requiring Hancom Office, supporting text extraction, form filling, and document generation across Windows, macOS, Linux, and AI environments.
However, be aware the API is in Alpha and may change; pin the version if stability is critical.
Parse, query, edit, and serialize HTML and XML documents with a C-accelerated core, supporting CSS selectors, XPath, markdown export, sanitization, and form extraction.
Install it if you need fast, typed HTML handling and are willing to learn its API.
Reads, writes, and manipulates LIGO Light-Weight XML documents used in gravitational-wave detection pipelines and related scientific analysis.
Formats and compresses XML documents by applying distinct whitespace rules that treat element content as objects and mixed content as text, with options to preserve specific elements and customize indentation.
Install it if you need to format, normalize, or compress XML documents—either programmatically or from the command line.