This repository contains external type annotations (see PEP 484) for the lxml package.
To use these stubs with mypy, you have to
install the lxml-stubs
package.
pip install lxml-stubs
Contributions should follow the same style guidelines as typeshed.
These type annotations were initially included included in typeshed, but lxml's annotations were found to be frequently problematic and have therefore been deleted from typeshed.
The code was extracted by Jelle Zijlstra from the original typeshed codebase
and moved to a separate repository using git filter-branch
.
Numerous people have contributed to the lxml stubs; see the git history for details.