awsretry
Decorate your AWS Boto3 Calls with AWSRetry.backoff(). This will allows your calls to get around the AWS Eventual Consistency Errors.
Decision gist · record as of 2026-08-14
No. The package is abandoned and has not been updated since January 2017. Modern AWS SDKs include built-in retry mechanisms that handle transient errors more robustly. If you need retry logic for AWS calls, use the SDK's native retry configuration or a maintained general-purpose retry library instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires AWS credentials to be configured separately and a compatible AWS SDK installed.
- High install friction with no runtime dependencies.
- The package is abandoned—last released in January 2017 with no commits since August 2022.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use this package freely in commercial and open-source projects with minimal restrictions.
last release 2017-01-31 (3482 days) · last repo commit 2022-08-09 · 46 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 106,323 downloads/mo, #12,657 on PyPI
Alternatives
Verify before relying
pip install awsretry
from awsretry import AWSRetry
@AWSRetry.backoff(tries=10, delay=3, backoff=1.1)
def get_instances():
# AWS API call wrapped here
pass
get_instances()- Whether the package works correctly with current AWS API error types and modern SDK versions.
- Whether the default retry exceptions (RequestLimitExceeded, Unavailable, ServiceUnavailable, InternalFailure, InternalError, NotFound patterns) still match current AWS responses.
- Whether Python 2.7 and 3.6 support listed in classifiers is still tested or relevant.
What it is and what it does
AWSRetry is a Python decorator that wraps AWS API calls to handle transient failures automatically. It retries on common exceptions including RequestLimitExceeded, Unavailable, ServiceUnavailable, InternalFailure, InternalError, and pattern-matched NotFound errors, with configurable exponential backoff. The decorator accepts parameters to control retry attempts (default 10), initial delay in seconds (default 3), backoff multiplier (default 1.1), and custom exceptions to retry on.
The package was designed to work around AWS's eventual consistency model and API rate limiting. However, it has not been maintained since its initial release in January 2017, with no commits after August 2022, making it a legacy tool that may not handle current error types or work reliably with modern versions of dependent libraries.
Use it for
- Wrap AWS API calls to tolerate temporary service unavailability during high-load periods.
- Retry operations that fail due to rate limiting or concurrent access conflicts.
- Handle eventual consistency delays when querying recently created or modified resources.
- Add automatic backoff to AWS calls without rewriting retry logic in application code.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned and has not been updated since January 2017. Modern AWS SDKs include built-in retry mechanisms that handle transient errors more robustly. If you need retry logic for AWS calls, use the SDK's native retry configuration or a maintained general-purpose retry library instead.
Install
awsretry on PyPI
Before you install
High install friction with no runtime dependencies. The package is abandoned—last released in January 2017 with no commits since August 2022. Use only if you cannot migrate to actively maintained alternatives.
Requires AWS credentials to be configured separately and a compatible AWS SDK installed.
License in practice
MIT license is permissive; you can use this package freely in commercial and open-source projects with minimal restrictions.
Quickstart
pip install awsretry
from awsretry import AWSRetry
@AWSRetry.backoff(tries=10, delay=3, backoff=1.1)
def get_instances():
# AWS API call wrapped here
pass
get_instances()
Verify before relying
- Whether the package works correctly with current AWS API error types and modern SDK versions.
- Whether the default retry exceptions (RequestLimitExceeded, Unavailable, ServiceUnavailable, InternalFailure, InternalError, NotFound patterns) still match current AWS responses.
- Whether Python 2.7 and 3.6 support listed in classifiers is still tested or relevant.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,482 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 106,323 / month, #12,657 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 :: MIT LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.6Topic :: Software Development :: Build Tools |
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 › “aws api retry decorator”
- awsretryA decorator that wraps AWS API calls to automatically retry on common…
- botoinatorBotoinator lets you attach decorators to boto3 client and resource…
- backoff-utilsProvides functions and decorators to apply backoff and retry…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also aws-error-utils · retry2 · reretry · eth-retry · retry · retry-decorator · python-retry · retryhttp · python-backoff · botoinator