types-retry
Typing stubs for retry
Decision gist · record as of 2026-08-14
Yes, if you use the retry package and run a static type checker in your development workflow. It has no runtime cost, no dependencies, and is actively maintained. If you don't use a type checker or don't use retry, there's no reason to install it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Only useful when running a type checker (mypy, pyright) as part of your development workflow; does not affect runtime behavior.
- Low install friction; a pure stub package with no runtime dependencies.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), so you can use this in commercial and proprietary projects without restriction.
last release 2026-04-08 (128 days) · last repo commit 2026-08-14 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 7,530,381 downloads/mo, #1,726 on PyPI
Alternatives
Verify before relying
pip install types-retry
# In your code using retry, type checkers will now understand:
from retry import retry
@retry()
def my_function():
pass- Whether this stub package is kept in sync with all active versions of the retry package beyond 0.9.*
- Whether installing this stub automatically satisfies type-checking for all retry decorators and exception classes
What it is and what it does
types-retry is a type stub package that provides static type annotations for the retry library. It allows type checkers like mypy and pyright to understand the types and signatures of retry's decorators and utility functions, catching type errors at development time rather than runtime. The stubs are maintained as part of the typeshed project and are tested against mypy 1.20.0 and pyright 1.1.408.
This package is purely for development and type-checking; it contains no runtime code and has no dependencies. You install it alongside the actual retry package to enable type safety in code that uses retry's retry decorator and related functions. It targets retry version 0.9.* and is kept in sync with typeshed's main branch.
Use it for
- Enable mypy or pyright to type-check code that decorates functions with @retry without false positives or missing type information.
- Catch type errors in retry configuration (e.g., invalid exception types or delay parameters) before runtime.
- Provide IDE autocomplete and inline documentation for retry's API when using a type-aware editor.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use the retry package and run a static type checker in your development workflow.
It has no runtime cost, no dependencies, and is actively maintained. If you don't use a type checker or don't use retry, there's no reason to install it.
Install
types-retry on PyPI
Before you install
Low install friction; a pure stub package with no runtime dependencies. Maintained actively as part of typeshed, with recent updates as of 2026-04-08.
Requires Python 3.10 or later. Only useful when running a type checker (mypy, pyright) as part of your development workflow; does not affect runtime behavior.
License in practice
Licensed under Apache-2.0 (permissive), so you can use this in commercial and proprietary projects without restriction.
Quickstart
pip install types-retry
# In your code using retry, type checkers will now understand:
from retry import retry
@retry()
def my_function():
pass
Verify before relying
- Whether this stub package is kept in sync with all active versions of the retry package beyond 0.9.*
- Whether installing this stub automatically satisfies type-checking for all retry decorators and exception classes
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 128 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 7,530,381 / month, #1,726 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_retry-0.9.9.20260408-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 retry”
- types-retryProvides type hints for the retry package, enabling static type…
- types-assertpyProvides type stubs enabling static type checkers like mypy and…
- types-appdirsProvides type stubs for the appdirs 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-passlib · types-pyfarmhash · types-tabulate · types-webencodings · types-chevron · types-toposort · types-grpcio-status · types-defusedxml · types-mypy-extensions · types-grpcio-reflection