Contents

tenacity 9.0.0

0

Retry code until it succeeds

Retry code until it succeeds

Stars: 6551, Watchers: 6551, Forks: 280, Open Issues: 112

The jd/tenacity repo was created 8 years ago and the last code push was 2 weeks ago.
The project is extremely popular with a mindblowing 6551 github stars!

How to Install tenacity

You can install tenacity using pip

pip install tenacity

or add it to a project with poetry

poetry add tenacity

Package Details

Author
Julien Danjou
License
Apache 2.0
Homepage
https://github.com/jd/tenacity
PyPi:
https://pypi.org/project/tenacity/
GitHub Repo:
https://github.com/jd/tenacity

Classifiers

  • Utilities
No  tenacity  pypi packages just yet.

Errors

A list of common tenacity errors.

Code Examples

Here are some tenacity code examples and snippets.

GitHub Issues

The tenacity package has 112 open issues on GitHub

  • Support datetime.timedelta as a valid wait unit type
  • Support timedelta as a valid type for wait classes
  • add mypy check on CI
  • Retry decorator does not play well with other decorators
  • update argument for method in Retry
  • Add support for an async defined retry and callback_error_retry

See more issues on GitHub

Related Packages & Articles