retry-requests
Make requests's sessions auto-retry on failure.
Decision gist · record as of 2026-08-14
Yes, with conditions. The package is simple, has low install friction, and solves a real problem for HTTP clients. However, it is abandoned (last commit May 2023) with no active maintenance, so use it only if you accept that bugs or incompatibilities with future requests versions will not be fixed. For new projects, consider whether a maintained alternative better fits your needs.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 only requests and urllib3 as runtime dependencies.
- Package is marked abandoned with last commit in May 2023, over 1174 days ago, so no active maintenance or bug fixes should be expected.
License · maintenance · safety
GPLv3+ (copyleft) — GPLv3+ copyleft license means any code that links this package must also be licensed under a compatible copyleft license or made proprietary with appropriate legal review.
last release 2023-05-28 (1174 days) · last repo commit 2023-05-28 · 26 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 401,064 downloads/mo, #6,931 on PyPI
Alternatives
Verify before relying
pip install retry-requests
from retry_requests import retry
my_session = retry()
my_session.get("http://foo.bar")- Whether the retry logic handles modern HTTP/2 or HTTP/3 connections correctly
- How the package behaves with requests' newer session features added since 2023
- Whether the backoff implementation matches current best practices for exponential backoff
What it is and what it does
retry-requests is a thin wrapper around the requests library that configures a Session to automatically retry failed HTTP requests. It handles transient failures like connection errors, timeouts, and server errors (5XX responses by default), with configurable backoff between retries. The package provides a simple `retry()` function that returns a configured Session, plus convenience subclasses like TSession (with default timeout) and RSession (with automatic raise_for_status).
The package requires Python 3.6+ and depends only on requests and urllib3. It's straightforward to use: call `retry()` to get a Session with retry behavior, then use it like any normal requests Session. You can customize retry count and backoff factor, though the package has been unmaintained since May 2023.
Use it for
- Stabilize web scraping or API client code against intermittent network failures without manual retry loops
- Add resilience to microservice calls that may temporarily fail due to transient server issues
- Reduce failed requests in data collection pipelines that hit occasionally unreliable endpoints
- Simplify client code for services with known flaky infrastructure by centralizing retry logic
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
The package is simple, has low install friction, and solves a real problem for HTTP clients. However, it is abandoned (last commit May 2023) with no active maintenance, so use it only if you accept that bugs or incompatibilities with future requests versions will not be fixed. For new projects, consider whether a maintained alternative better fits your needs.
Install
retry-requests on PyPI
Before you install
Low install friction with only requests and urllib3 as runtime dependencies. Package is marked abandoned with last commit in May 2023, over 1174 days ago, so no active maintenance or bug fixes should be expected.
Requires Python 3.6 or later.
License in practice
GPLv3+ copyleft license means any code that links this package must also be licensed under a compatible copyleft license or made proprietary with appropriate legal review.
Quickstart
pip install retry-requests
from retry_requests import retry
my_session = retry()
my_session.get("http://foo.bar")
Verify before relying
- Whether the retry logic handles modern HTTP/2 or HTTP/3 connections correctly
- How the package behaves with requests' newer session features added since 2023
- Whether the backoff implementation matches current best practices for exponential backoff
Package facts
| License | GPLv3+ copyleft |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesrequestsurllib3 |
| Maintenance | Abandoned 1,174 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 401,064 / month, #6,931 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)Operating System :: OS IndependentProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Topic :: Software Development :: Libraries :: Python Modules |
Evidence: retry_requests-2.0.0-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 › “requests session auto-retry”
- retry-requestsWraps requests Session objects to automatically retry failed HTTP…
- CacheControlCacheControl wraps requests sessions to automatically cache HTTP…
- requestiumRequestium merges Requests, Selenium, and Parsel to automate web…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also aiohttp-retry · eniris · retryhttp · httpx-retries · python-retry · reretry · stamina · eth-retry · retrying · waiter