lxml is a Pythonic binding for the libxml2 and libxslt libraries. It is unique in that it combines the speed and feature completeness of these libraries with the simplicity of a native Python API. python3 is an optional build dependency. cssselect and html5lib are optional runtime dependencies.