types-Deprecated
Typing stubs for Deprecated
Decision gist · record as of 2026-08-14
Yes, if you use the Deprecated package and run a type checker (mypy, pyright, or ty) in your project. Install it to eliminate type-checking errors and gain full IDE support for Deprecated's decorators. If you don't use a type checker or don't use Deprecated, it provides no value.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Type checking requires a compatible type checker (mypy, pyright, or ty) to be installed separately.
- Low friction install with no runtime dependencies.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 license is permissive and poses no restrictions on use, modification, or distribution in most contexts.
last release 2026-07-28 (17 days) · last repo commit 2026-08-14 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 21,264,593 downloads/mo, #1,005 on PyPI
Alternatives
Verify before relying
pip install types-Deprecated
# In your code using Deprecated:
from deprecated import deprecated
@deprecated(reason="Use new_function instead")
def old_function():
pass- Whether this package is automatically installed as a dependency of Deprecated or must be installed separately for type checking.
- Whether type coverage is complete for all Deprecated~=1.3.1 APIs or if there are known gaps.
What it is and what it does
types-Deprecated is a type stub package that bridges the gap between the Deprecated library and Python type checkers. When you install it alongside Deprecated, type checkers like mypy and pyright can understand the types and signatures of Deprecated's decorators and functions, allowing them to validate your code that uses deprecation markers.
This is a pure stub package with no runtime dependencies—it exists solely to provide type information. It's maintained as part of the typeshed project, the canonical repository of type stubs for third-party packages, and is regenerated from typeshed's source to stay in sync with Deprecated~=1.3.1. The package requires Python 3.10 or later and has been tested against recent versions of the major type checkers.
Use it for
- Enable mypy or pyright to type-check code that uses Deprecated's @deprecated decorator without type errors.
- Validate deprecation warnings and ensure deprecated functions are called correctly in a typed codebase.
- Integrate Deprecated into a strict type-checking CI/CD pipeline that requires full type coverage.
- Support IDE autocompletion and hover documentation for Deprecated's API in editors like VS Code.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use the Deprecated package and run a type checker (mypy, pyright, or ty) in your project.
Install it to eliminate type-checking errors and gain full IDE support for Deprecated's decorators. If you don't use a type checker or don't use Deprecated, it provides no value.
Install
types-deprecated on PyPI
Before you install
Low friction install with no runtime dependencies. Actively maintained as part of typeshed, released recently (17 days ago), and tested against current versions of mypy 2.3.0, pyright 1.1.411, and ty 0.0.59.
Requires Python 3.10 or later. Type checking requires a compatible type checker (mypy, pyright, or ty) to be installed separately.
License in practice
Apache-2.0 license is permissive and poses no restrictions on use, modification, or distribution in most contexts.
Quickstart
pip install types-Deprecated
# In your code using Deprecated:
from deprecated import deprecated
@deprecated(reason="Use new_function instead")
def old_function():
pass
Verify before relying
- Whether this package is automatically installed as a dependency of Deprecated or must be installed separately for type checking.
- Whether type coverage is complete for all Deprecated~=1.3.1 APIs or if there are known gaps.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 17 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 21,264,593 / month, #1,005 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Typing :: Stubs Only |
Evidence: types_deprecated-1.3.1.20260728-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 deprecated”
- types-DeprecatedProvides type stubs for the Deprecated package, enabling type…
- types-appdirsProvides type stubs for the appdirs package to enable static type…
- types-filelockProvides type stubs for the filelock package to enable static type…
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-bleach · types-dateparser · types-mypy-extensions · types-pyflakes · types-shapely · Deprecated · types-Markdown · types-decorator · types-grpcio · ty