{"library":"cssselect2","type":"library","category":null,"description":"cssselect2 is a straightforward implementation of CSS3 and CSS4 Selectors for markup documents (HTML, XML, etc.) that can be read by ElementTree-like parsers (including cElementTree, lxml, and html5lib). Unlike its predecessor `cssselect`, it does not translate selectors to XPath, aiming to resolve correctness issues inherent in that approach. The library is actively maintained, with its current version being 0.9.0, and releases occur several times a year, often coinciding with Python version updates and new CSS selector features.","language":"python","status":"active","version":"0.9.0","tags":["CSS","selectors","ElementTree","HTML","XML","parsing"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install cssselect2","imports":["from cssselect2 import Matcher","from cssselect2 import ElementWrapper","from cssselect2 import compile_selector_list"]}],"homepage":"https://doc.courtbouillon.org/cssselect2/","github":"https://github.com/Kozea/cssselect2","docs":"https://doc.courtbouillon.org/cssselect2/","changelog":"https://github.com/Kozea/cssselect2/releases","pypi":"https://pypi.org/project/cssselect2/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.02,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/cssselect2/compatibility"}}