$npx skillfedfor your agent

retrying

Retrying

Worth itPyPI InternetReleased Aug 202538.7M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — retrying-1.4.2-py3-none-any.whl
v1.4.2 · released 2025-08-03 · Python >=3.6

Yes. Retrying is a lightweight, zero-dependency library with permissive licensing, active maintenance, and broad Python version support. It solves a common problem—adding retry logic—cleanly via decorators. No known vulnerabilities. Install it when you need retry behavior without building custom logic.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.6 or later.
  • Low install friction with no runtime dependencies.
  • Actively maintained as of 2026-07-26 with recent releases, supporting Python 3.6 through 3.13.

License · maintenance · safety

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

last release 2025-08-03 (376 days) · last repo commit 2026-07-26 · 96 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 38,692,760 downloads/mo, #711 on PyPI

Verify before relying

from retrying import retry

@retry
def do_something_unreliable():
    # function body
    return result

do_something_unreliable()
Same gist for agents: .md · .json

What it is and what it does

Retrying is a Python decorator library that simplifies adding retry behavior to functions. It wraps a function call and automatically re-executes it when exceptions occur or when result conditions aren't met, without requiring manual loop logic. The library handles the common patterns: retrying forever, stopping after a maximum number of attempts, stopping after elapsed time, waiting between retries with fixed delays, random jitter, or exponential backoff. You can customize which exceptions trigger a retry, inspect return values to decide whether to retry, and combine multiple stop and wait conditions.

The decorator approach keeps retry logic separate from the function body, making it easy to add to existing code. It's useful for handling transient failures in network calls, database operations, or any operation that might temporarily fail but succeed on retry.

Use it for

  • Retry flaky network requests with exponential backoff to avoid overwhelming remote services.
  • Handle temporary database connection failures by retrying up to a maximum number of attempts.
  • Implement polling logic that waits between checks for a resource becoming available.
  • Wrap unreliable I/O operations with automatic retry on specific exception types.
  • Add retry behavior to distributed system calls with configurable backoff strategies.

Worth the install?

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

Worth it

Yes.

Retrying is a lightweight, zero-dependency library with permissive licensing, active maintenance, and broad Python version support. It solves a common problem—adding retry logic—cleanly via decorators. No known vulnerabilities. Install it when you need retry behavior without building custom logic.

Install

retrying on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained as of 2026-07-26 with recent releases, supporting Python 3.6 through 3.13.

Requires Python 3.6 or later.

License in practice

Apache 2.0 permissive license allows use in most projects without significant restrictions.

Quickstart

from retrying import retry

@retry
def do_something_unreliable():
    # function body
    return result

do_something_unreliable()

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 376 days since the last release
Last repo commit
First released
Downloads38,692,760 / month, #711 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: InternetTopic :: Utilities

Evidence: retrying-1.4.2-py3-none-any.whl

Tags

Capabilities
retry decorator pythonautomatic retry logicexponential backoff retryretry on exceptionfunction retry libraryretry with wait conditionsflaky function handling
Topics
retry-logicdecoratorfault-tolerance
PyPI keywords
decoratordecoratorsretryretryingexceptionexponentialbackoff

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 logic”

  • retryingRetrying is a decorator-based library that adds automatic retry logic…
  • python-retryProvides a decorator to automatically retry failed function calls…
  • retry2Provides a decorator and function wrapper to automatically retry…

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / 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
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also pyramid-retry · python-retry · tenacity · httpx-retries · robust-downloader · reretry · retry · aiohttp-retry · polling2 · waiting