Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lxml/lxml-stubs
Type stubs for the lxml package
https://github.com/lxml/lxml-stubs
lxml mypy-stubs type-annotations
Last synced: 3 months ago
JSON representation
Type stubs for the lxml package
- Host: GitHub
- URL: https://github.com/lxml/lxml-stubs
- Owner: lxml
- License: other
- Created: 2020-05-23T16:16:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-19T15:47:46.000Z (9 months ago)
- Last Synced: 2024-05-18T15:44:59.859Z (6 months ago)
- Topics: lxml, mypy-stubs, type-annotations
- Language: Python
- Homepage:
- Size: 138 KB
- Stars: 39
- Watchers: 7
- Forks: 29
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-python-typing - lxml-stubs - Stubs for [lxml](https://lxml.de). (Stub packages)
README
# lxml-stubs
[![Python Tests](https://github.com/lxml/lxml-stubs/workflows/Python%20Tests/badge.svg)](https://github.com/lxml/lxml-stubs/actions?query=workflow%3A%22Python+Tests%22)
[![pypi](https://img.shields.io/pypi/v/lxml-stubs.svg)](https://pypi.python.org/pypi/lxml-stubs/)## About
This repository contains external type annotations (see
[PEP 484](https://www.python.org/dev/peps/pep-0484/)) for the
[lxml](http://lxml.de/) package.NOTE: It was superceded by the more complete and externally maintained
[types-lxml](https://github.com/abelcheung/types-lxml) fork.## Installation
To use these stubs with [mypy](https://github.com/python/mypy), you have to
install the `lxml-stubs` package.pip install lxml-stubs
## Contributing
Contributions should follow the same style guidelines as
[typeshed](https://github.com/python/typeshed/blob/master/CONTRIBUTING.md).## History
These type annotations were initially included in
[typeshed](https://www.github.com/python/typeshed), 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.