GitHub - lxml/lxml-stubs: Type stubs for the lxml package (original) (raw)

lxml-stubs

Python Tests pypi

About

This repository contains external type annotations (seePEP 484) for thelxml package.

NOTE: It was superceded by the more complete and externally maintainedtypes-lxml fork.

Installation

To use these stubs with mypy, you have to install the lxml-stubs package.

Contributing

Contributions should follow the same style guidelines astypeshed.

History

These type annotations were initially included intypeshed, but lxml's annotations are still incomplete and have therefore been extracted from typeshed to avoid unintentional false positive results.

The code was extracted by Jelle Zijlstra from the original typeshed codebase and moved to a separate repository using git filter-branch.

Authors

Numerous people have contributed to the lxml stubs; see the git history for details.