Welcome to the Python-Retry documentation!

Python retry provides functionality for retrying functions. It comes with an easy, beautiful and elegant decorator that makes easy to just decorate any method to be retried.

Features

  1. Generic Decorator

  2. Specify stop condition (i.e. limit by number of attempts)

  3. Specify wait condition (i.e. exponential backoff sleeping between attempts)

  4. Customize retrying on Exceptions

  5. Logging on retries and exceptions

Indices and tables