Skip to content

Retries

Github actions codecov

A retry library for Python. This library allows:

  1. Creating custom strategies
  2. Applying hooks before and after executing function (useful for custom logging)
  3. Applying hook to when function raised an error (useful for incriminating metrics)
  4. Applying multiple retry strategies
  5. Fully typed

Installing

The package is available through Pypi. You can install using pip or any of your favorite package manager:

pip install pyretries

Or using poetry

poetry add pyretries