{"library":"types-lxml","type":"library","category":null,"description":"types-lxml, version 2026.2.16, provides comprehensive external type annotations (stubs) for the `lxml` library, enabling static type checking with tools like MyPy and Pyright, and improving IDE support. It is actively maintained with frequent updates, often releasing multiple versions per month, and is a more complete fork of the original `lxml-stubs` project. It aims to cover major lxml submodules like `lxml.etree`, `lxml.html`, and `lxml.objectify` for Python 3.9 and newer.","language":"python","status":"active","version":"2026.2.16","tags":["type-stubs","lxml","static-typing","xml","html"],"last_verified":"Thu May 21","install":[{"cmd":"pip install types-lxml","imports":["from lxml import etree","from lxml import html"]}],"homepage":null,"github":"https://github.com/abelcheung/types-lxml","docs":null,"changelog":null,"pypi":"https://pypi.org/project/types-lxml/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":1.9,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/types-lxml/compatibility"}}