$npx skillfedfor your agent

lxml-stubs

Type annotations for the lxml package

With conditionsPyPI Software DevelopmentReleased Jan 20244.5M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — lxml_stubs-0.5.1-py3-none-any.whl
v0.5.1 · released 2024-01-10

Yes, if you are actively using mypy with lxml and can tolerate incomplete type coverage and no ongoing maintenance. The permissive license and zero runtime dependencies make installation safe. However, be aware that the abandoned status means type annotations will not be updated for new lxml features or API changes.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with no runtime dependencies.
  • However, the repository is archived and abandoned as of the last commit on 2026-05-13, with no releases for 947 days.

License · maintenance · safety

permissive license (permissive) — Licensed under Apache Software License (permissive), allowing use in commercial and private projects with minimal restrictions.

last release 2024-01-10 (947 days) · last repo commit 2026-05-13 · 51 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,546,897 downloads/mo, #2,283 on PyPI

Verify before relying

pip install lxml-stubs

Then mypy will automatically use the type annotations when checking code that imports lxml.
  • Current completeness of type annotations relative to lxml's full API surface
  • Compatibility with recent lxml versions and mypy releases
  • Whether the abandoned status affects ongoing type stub maintenance
Same gist for agents: .md · .json

What it is and what it does

lxml-stubs is a package of external type annotations for lxml, the popular XML and HTML processing library. It allows developers using mypy or other PEP 484-compatible type checkers to catch type errors in code that uses lxml. The stubs were originally part of typeshed but were extracted into a separate repository because lxml's annotations are still incomplete and the maintainers wanted to avoid false positives from partial annotations.

The package installs as a wheel with no runtime dependencies and integrates automatically with mypy. However, the repository is now archived and abandoned, with the last commit on 2026-05-13 and no releases for 947 days. This means type annotations may not reflect recent changes to lxml itself, and gaps in coverage are unlikely to be filled.

Use it for

  • Enable mypy type checking on projects that depend on lxml for XML/HTML parsing
  • Catch type errors in lxml API calls during development rather than at runtime
  • Integrate lxml into a fully typed codebase without treating it as untyped

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are actively using mypy with lxml and can tolerate incomplete type coverage and no ongoing maintenance.

The permissive license and zero runtime dependencies make installation safe. However, be aware that the abandoned status means type annotations will not be updated for new lxml features or API changes.

Install

lxml-stubs on PyPI

Before you install

Low install friction with no runtime dependencies. However, the repository is archived and abandoned as of the last commit on 2026-05-13, with no releases for 947 days.

License in practice

Licensed under Apache Software License (permissive), allowing use in commercial and private projects with minimal restrictions.

Quickstart

pip install lxml-stubs

Then mypy will automatically use the type annotations when checking code that imports lxml.

Verify before relying

  • Current completeness of type annotations relative to lxml's full API surface
  • Compatibility with recent lxml versions and mypy releases
  • Whether the abandoned status affects ongoing type stub maintenance

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 947 days since the last release
Last repo commit repository archived
First released
Downloads4,546,897 / month, #2,283 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software License

Evidence: lxml_stubs-0.5.1-py3-none-any.whl

Tags

Capabilities
lxml type stubstype annotations lxmlmypy lxml supportstatic type checking xmllxml type hintspep 484 lxml
Topics
type-stubsmypy

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “type annotations lxml”

  • lxml-stubsProvides type annotations for the lxml package to enable static type…
  • types-lxmlProvides complete external type annotations for lxml, enabling static…
  • prosemirrorProvides Python implementations of core ProseMirror modules (model,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also types-lxml · sqlalchemy2-stubs · django-filter-stubs · types-networkx · types-Flask · types-attrs · pyspark-stubs · types-beautifulsoup4 · types-MarkupSafe · dargs