HTML Manipulation in Python

5 projects in Text & Documents. Most starred: xmltodict, lxml and justhtml.

Parse, query and sanitize HTML and XML with lxml, Beautiful Soup, xmltodict and MarkupSafe.

lxml

A very fast, easy-to-use and versatile library for handling HTML and XML.

3.1kupdated 2d agolxml-6.1.3-1

beautifulsoup4

Providing Pythonic idioms for iterating, searching, and modifying HTML or XML.

xmltodict

Working with XML feel like you are working with JSON.

5.8kupdated 2mo ago1.0.4

markupsafe

Safely adds untrusted strings to HTML/XML markup.

699updated 21d ago3.0.4

justhtml

A pure Python HTML5 parser that sanitizes untrusted HTML by default.

1.2kupdated today3.15.0
Esc

Type to search every entry. ↑↓ to move, Enter to open.