$npx skillfedfor your agent

retry-decorator

Retry Decorator

SkipPyPI Software DevelopmentReleased Mar 2020474.2K downloads / moMITSource build

Decision gist · record as of 2026-08-14

sdist only — retry_decorator-1.1.1.tar.gz · builds from source
v1.1.1 · released 2020-03-10

No. The package is abandoned with no maintenance since 2021, and high install friction (source-only distribution). Modern Python projects should use the standard library's functools.wraps with explicit retry logic, or a maintained alternative like tenacity or backoff, which offer more features and active support.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • High install friction due to source distribution only.
  • Package is abandoned—last release was 2020-03-10 and last commit 2021-12-11—so expect no maintenance response to issues or compatibility problems.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions.

last release 2020-03-10 (2348 days) · last repo commit 2021-12-11 · 27 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 474,207 downloads/mo, #6,455 on PyPI

Verify before relying

from retry_decorator import retry

@retry(Exception, tries=3, timeout_secs=0.1)
def my_function():
    # function body
    pass

my_function()
  • Whether the decorator works correctly with modern Python versions (classifiers claim Python 2 and 3 support, but no requires_python constraint is specified).
  • Whether timeout_secs parameter actually enforces a timeout or merely introduces a delay between retries.
Same gist for agents: .md · .json

What it is and what it does

retry-decorator is a simple Python decorator that wraps a function to automatically retry it when an exception occurs. You decorate a function with @retry, specifying the exception type to catch, the number of attempts to make, and a delay between retries in seconds. If all retries are exhausted, the last exception is raised to the caller.

The package has no runtime dependencies and works with both Python 2 and Python 3 according to its classifiers. However, the project is abandoned—the last release was in March 2020 and the last repository commit in December 2021—so it will not receive updates for compatibility issues or bug fixes.

Use it for

  • Wrap network requests that may fail transiently to automatically retry before giving up.
  • Decorate database queries or API calls that occasionally time out or return temporary errors.
  • Add resilience to file I/O operations that may fail due to temporary resource unavailability.
  • Simplify test fixtures that need to wait for a service to become ready before proceeding.

Worth the install?

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

Skip

No.

The package is abandoned with no maintenance since 2021, and high install friction (source-only distribution). Modern Python projects should use the standard library's functools.wraps with explicit retry logic, or a maintained alternative like tenacity or backoff, which offer more features and active support.

Install

retry-decorator on PyPI

Before you install

High install friction due to source distribution only. Package is abandoned—last release was 2020-03-10 and last commit 2021-12-11—so expect no maintenance response to issues or compatibility problems.

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions.

Quickstart

from retry_decorator import retry

@retry(Exception, tries=3, timeout_secs=0.1)
def my_function():
    # function body
    pass

my_function()

Verify before relying

  • Whether the decorator works correctly with modern Python versions (classifiers claim Python 2 and 3 support, but no requires_python constraint is specified).
  • Whether timeout_secs parameter actually enforces a timeout or merely introduces a delay between retries.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 2,348 days since the last release
Last repo commit
First released
Downloads474,207 / month, #6,455 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 2Programming Language :: Python :: 3

Evidence: retry_decorator-1.1.1.tar.gz

Tags

Capabilities
retry decoratorautomatic retry on exceptionfunction retry logicretry with timeoutexception retry handler
Topics
error-handlingdecorator

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 › “automatic retry on exception”

  • retry-decoratorProvides a decorator to automatically retry a function when it raises…
  • retryingRetrying is a decorator-based library that adds automatic retry logic…
  • retryProvides a decorator and function wrapper for retrying failed…

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 essentials · timeout-decorator · retry2 · reretry · awsretry · retry · backoff · pybreaker · wrapt-timeout-decorator · strongtyping