Data as of Oct 20, 2026Based on 34,065 AI responses
Reviewed by Dimitry Apollonsky
lxml is a Python library that provides Pythonic bindings to the C libraries libxml2 and libxslt, enabling fast, feature-rich XML and HTML processing from Python. It offers APIs such as lxml.etree, XPath, XSLT, HTML parsing, objectify, and cssselect, with support for parsing, serialisation, namespaces, and validation (DTD, XMLSchema, RelaxNG, Schematron). It supports CPython 3.6–3.12, is open source, and the project accepts sponsorship and donations to fund ongoing maintenance and development.
<1%
across lxml’s markets · since Jul 5
Position in answers
Each engine’s share of its own answers across lxml’s markets · since Jul 5