$npx skillfedfor your agent

types-defusedxml

Typing stubs for defusedxml

With conditionsPyPI Software DevelopmentReleased May 20262.4M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_defusedxml-0.7.0.20260504-py3-none-any.whl
v0.7.0.20260504 · released 2026-05-04 · Python >=3.10

Yes, if you use defusedxml and run static type checking. Install it alongside defusedxml to enable mypy or pyright to validate your XML parsing code. No runtime cost or dependencies. If you don't use a type checker, this package provides no value.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.10
  • Low install friction with no runtime dependencies.
  • Actively maintained as part of typeshed; last commit 2026-08-14 and latest release 2026-05-04.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects without restriction.

last release 2026-05-04 (102 days) · last repo commit 2026-08-14 · 37 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,357,489 downloads/mo, #3,107 on PyPI

Verify before relying

pip install types-defusedxml

import defusedxml.ElementTree

tree = defusedxml.ElementTree.parse('file.xml')
  • Whether this package is automatically installed as a dependency of defusedxml or must be installed separately
  • Whether type checker configuration changes are needed to recognize these stubs
  • Performance impact of including type stubs in development environments
Same gist for agents: .md · .json

What it is and what it does

types-defusedxml is a type stub package that provides type annotations for the defusedxml library. It allows static type checkers like mypy (1.20.0) and pyright (1.1.408) to understand and validate code that uses defusedxml for secure XML processing. The stubs are maintained as part of the typeshed project and target defusedxml 0.7.* versions.

This package has no runtime dependencies and is purely for development-time type checking. Installing it enables your IDE and type checker to catch type errors in code that calls defusedxml functions, improving code quality without affecting runtime behavior.

Use it for

  • Enable mypy or pyright to type-check code that imports and uses defusedxml for XML parsing
  • Catch type errors in defusedxml function calls during development before runtime
  • Provide IDE autocomplete and type hints for defusedxml APIs in editors
  • Enforce type safety in projects that parse untrusted XML documents using defusedxml

Worth the install?

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

With conditions

Yes, if you use defusedxml and run static type checking.

Install it alongside defusedxml to enable mypy or pyright to validate your XML parsing code. No runtime cost or dependencies. If you don't use a type checker, this package provides no value.

Install

types-defusedxml on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained as part of typeshed; last commit 2026-08-14 and latest release 2026-05-04.

Requires Python >=3.10

License in practice

Apache-2.0 permissive license allows use in most projects without restriction.

Quickstart

pip install types-defusedxml

import defusedxml.ElementTree

tree = defusedxml.ElementTree.parse('file.xml')

Verify before relying

  • Whether this package is automatically installed as a dependency of defusedxml or must be installed separately
  • Whether type checker configuration changes are needed to recognize these stubs
  • Performance impact of including type stubs in development environments

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 102 days since the last release
Last repo commit
First released
Downloads2,357,489 / month, #3,107 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3Typing :: Stubs Only

Evidence: types_defusedxml-0.7.0.20260504-py3-none-any.whl

Tags

Capabilities
type stubs defusedxmltyping hints xml parsingmypy defusedxml annotationsstatic type checking xmldefusedxml type hintspyright xml validation
Topics
type-stubstype-checking

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 stubs defusedxml”

  • types-defusedxmlProvides type hints for the defusedxml library, enabling static type…
  • defusedxmlDefusedxml hardens Python's standard XML libraries against XML bomb…
  • types-assertpyProvides type stubs enabling static type checkers like mypy and…

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 defusedxml · types-xmltodict · types-tabulate · types-html5lib · types-retry · types-Markdown · types-docutils · types-toml · types-grpcio-reflection · types-pyperclip