A decorator for AWS Boto3 calls that automatically retries on eventual consistency errors. Version 1.0.2 is current; release cadence is low (last release Apr 2019).
pip install awsretryVerified import paths — ran on the pinned version, not inferred.
Decorate a Boto3 call to retry on AWS eventual consistency errors.
If you need retry on other errors, consider using botocore's built-in retry mode or tenacity.
Prefer using botocore's retry configuration: boto3.client('ec2', config=Config(retries={'max_attempts': 10, 'mode': 'adaptive'}))Ensure decorated function is synchronous and returns a boto3 API call result.