refactor(html-xml): replace cssutils with tinycss2

cssutils is unmaintained; tinycss2 is the actively maintained
low-level CSS parser and generator for Python.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-03-22 16:38:48 +08:00
parent f11468b262
commit ef51d9a7aa

View File

@@ -832,7 +832,7 @@ _Libraries for parsing and manipulating plain texts._
_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://github.com/jaraco/cssutils) - A CSS library for Python.
- [tinycss2](https://github.com/Kozea/tinycss2) - A low-level CSS parser and generator written in Python.
- [justhtml](https://github.com/EmilStenstrom/justhtml/) - A pure Python HTML5 parser that just works.
- [lxml](https://github.com/lxml/lxml) - 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.