How to: HTML Manipulation
_Libraries for working with HTML and XML._

- [beautifulsoup](https://www.crummy.com/software/BeautifulSoup/bs4/doc/) - Providing Pythonic idioms for iterating, searching, and modifying HTML or XML.
- [cssutils](https://pypi.org/project/cssutils/) - A CSS library for Python.
- [html5lib](https://github.com/html5lib/html5lib-python) - A standards-compliant library for parsing and serializing HTML documents and fragments.
- [JustHTML](https://github.com/EmilStenstrom/justhtml/) - A pure Python HTML5 parser that just works. No C extensions to compile. No system dependencies to install. No complex API to learn.
- [lxml](http://lxml.de/) - A very fast, easy-to-use and versatile library for handling HTML and XML.
- [markupsafe](https://github.com/pallets/markupsafe) - Implements a XML/HTML/XHTML Markup safe string for Python.
- [pyquery](https://github.com/gawel/pyquery) - A jQuery-like library for parsing HTML.
- [untangle](https://github.com/stchris/untangle) - Converts XML documents to Python objects for easy access.
- [WeasyPrint](http://weasyprint.org) - A visual rendering engine for HTML and CSS that can export to PDF.
- [xmldataset](https://xmldataset.readthedocs.io/en/latest/) - Simple XML Parsing.
- [xmltodict](https://github.com/martinblech/xmltodict) - Working with XML feel like you are working with JSON.