Retry code until it succeeds
Maintained. Last release 8 weeks ago, commits in 11 of the last 26 weeks. Weaker on issue handling.
$
pip install tenacityTenacity is a general-purpose retrying library to simplify the task of adding
retry behavior to just about anything.
See the `documentation <https://tenacity.readthedocs.io/>`_ for examples and the
API reference.