A simple, lightweight Python package for retrying operations with configurable retry counts, delays, and backoff strategies. Version 0.0.1 is the initial release, with minimal API surface and basic functionality. The package is in early development with slow release cadence.
pip install python-retryVerified import paths — ran on the pinned version, not inferred.
Decorate a function to retry up to 3 times with exponential backoff.
Ensure your functions raise Exception subclasses, or use the 'exceptions' parameter to specify custom exception types.
Set backoff=1 for constant delay; otherwise, calculate expected delays accordingly.
No dependency data recorded yet.