{"categories":[{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"}],"enrichment":{"capability":"Provides complete external type annotations for lxml, enabling static type checking and IDE support for code using lxml's XML and HTML processing functionality.","skillfed_tags":["type-stubs","lxml","static-analysis"],"use_cases":["Enable static type checking in IDEs and CI pipelines for projects using lxml for XML or HTML parsing.","Catch type errors in lxml code before runtime, such as incorrect method calls or type mismatches.","Get IDE autocomplete and inline documentation for lxml APIs in Visual Studio Code and other editors.","Use the mypy plugin to enforce correct patterns for lxml element class lookups and inheritance.","Validate lxml code against multiple type checkers to ensure broad compatibility."],"what_it_does":"types-lxml is a stub package that provides complete external type annotations for the lxml library, allowing Python type checkers and IDEs to understand and validate code that uses lxml's XML and HTML processing APIs. It works with multiple type checkers\u2014mypy, pyright, basedpyright, pyrefly, and ty\u2014and includes a mypy plugin that adds specialized type-checking behavior for lxml-specific patterns.\n\nThe package is built around four goals: complete annotation coverage (no longer marked as partial), support for multiple type checkers, extensive review and testing against real runtime behavior, and developer-friendly features like contextual docstrings and warnings for problematic usage patterns. It includes both a standard build and a multi-subclass variant for projects that create multiple lxml element subclasses, and supports Python 3.9 through 3.14.","worth_installing":"Yes. types-lxml is actively maintained, has no known vulnerabilities, installs with low friction, and is essential for any project using lxml that wants static type checking. The Apache-2.0 license poses no restriction. Install it if you use lxml and rely on type checking or IDE support."},"id":"types-lxml","links":{"html":"https://skillfed.io/packages/types-lxml","md":"https://skillfed.io/packages/types-lxml.md","pypi":"https://pypi.org/project/types-lxml/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-17","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"types-lxml","python_support":"supports_current","summary":"Complete lxml external type annotation"},"popularity":{"monthly_downloads":3813233,"position":2492,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2026.2.16"}
