types-backports
Typing stubs for backports
Decision gist · record as of 2026-08-14
Yes, if you use backports and run static type checking. Install it alongside backports to give your type checker visibility into backports' API. The package is lightweight, has no dependencies, and carries a permissive license. Verify that the stubs cover the backports version and modules you actually use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- Maintenance status is active; the underlying typeshed repository remains actively maintained.
License · maintenance · safety
Apache-2.0 license (permissive) — Licensed under Apache-2.0 (permissive), imposing no restrictions on use in proprietary or open-source projects.
last release 2021-06-17 (1884 days) · last repo commit 2026-08-14 · 5,108 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 267,279 downloads/mo, #8,294 on PyPI
Alternatives
Verify before relying
pip install types-backports
# Then use with mypy or other type checkers
# mypy your_code.py- Whether this stub package is kept in sync with the current backports package API and whether it covers all backports submodules in use.
What it is and what it does
types-backports is an auto-generated PEP 561 type stub package that provides type information for the backports package. It allows static type checkers—mypy, PyCharm, pytype, and similar tools—to understand and validate the types of code that imports from backports, catching type errors at check time rather than runtime.
The stubs are generated from typeshed and serve as a bridge between the backports package (which may not have inline type annotations) and type-checking tools. Installing this package alongside backports enables your type checker to reason about backports' API without requiring backports itself to be typed.
Use it for
- Enable mypy or PyCharm to type-check code that imports from backports without false positives.
- Validate compatibility of your code with backports APIs during CI/CD type-checking passes.
- Develop typed applications that depend on backports while maintaining strict type safety.
- Integrate backports into a typed codebase without disabling type checking for those imports.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use backports and run static type checking.
Install it alongside backports to give your type checker visibility into backports' API. The package is lightweight, has no dependencies, and carries a permissive license. Verify that the stubs cover the backports version and modules you actually use.
Install
types-backports on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance status is active; the underlying typeshed repository remains actively maintained.
License in practice
Licensed under Apache-2.0 (permissive), imposing no restrictions on use in proprietary or open-source projects.
Quickstart
pip install types-backports
# Then use with mypy or other type checkers
# mypy your_code.py
Verify before relying
- Whether this stub package is kept in sync with the current backports package API and whether it covers all backports submodules in use.
Package facts
| License | Apache-2.0 license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,884 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 267,279 / month, #8,294 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseTyping :: Typed |
Evidence: types_backports-0.1.3-py2.py3-none-any.whl
Tags
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 for backports”
- types-backportsProvides PEP 561 type stubs for the backports package, enabling type…
- typing-extensionsProvides backported and experimental type hints for Python 3.9+,…
- logutilsProvides additional logging handlers for Python's standard library…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
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.
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.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
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.
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.
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.
See also types-attrs · types-factory-boy · types-ipaddress · types-pkg-resources · types-dataclasses · types-futures · pybind11-stubgen · data-science-types · types-atomicwrites · types-maxminddb