--- id: cssselect2 version: "0.9.0" license: unclear license_treatment: permissive maintenance: aging --- # cssselect2 — CSS selectors for Python ElementTree License: permissive · Maintenance: aging · Popularity: top 1,000 on PyPI ## Install pip install cssselect2 uv add cssselect2 poetry add cssselect2 ## Description cssselect2 is a straightforward implementation of CSS4 Selectors for markup documents (HTML, XML, etc.) that can be read by ElementTree-like parsers (including cElementTree, lxml, html5lib, etc.) * Free software: BSD license * For Python 3.10+, tested on CPython and PyPy * Documentation: https://doc.courtbouillon.org/cssselect2 * Changelog: https://github.com/Kozea/cssselect2/releases * Code, issues, tests: https://github.com/Kozea/cssselect2 * Code of conduct: https://www.courtbouillon.org/code-of-conduct.html * Professional support: https://www.courtbouillon.org * Donation: https://opencollective.com/courtbouillon cssselect2 has been created and developed by Kozea (https://kozea.fr/). Professional support, maintenance and community management is provided by CourtBouillon (https://www.courtbouillon.org/). Copyrights are retained by their contributors, no copyright assignment is required to contribute to cssselect2. Unless explicitly stated otherwise, any contribution intentionally submitted for inclusion is licensed under the BSD 3-clause license, without any additional terms or conditions. For full authorship information, see the version control history. ## AI interpretation — verify before relying cssselect2 parses and matches CSS4 selectors against markup documents (HTML, XML) using ElementTree-like parsers, enabling programmatic element selection and styling queries. Verdict: cssselect2 is a stable, low-friction CSS selector library suitable for production use in document processing pipelines. No known vulnerabilities, permissive licensing, and broad Python 3.10+ support make it a straightforward choice; the aging maintenance status (182 days since last release) is typical for a mature, feature-complete tool. [View on SkillFed](https://skillfed.io/packages/cssselect2) · [View on PyPI](https://pypi.org/project/cssselect2/)