Tenacity is a Python library that enables automatic retrying of functions with customizable strategies. It replaces the now-deprecated retrying library and supports exponential backoff, fixed delays, stop and wait conditions, and exception filtering. Useful for network operations, API calls, or any unstable process, Tenacity helps increase reliability in Python applications by handling transient failures gracefully and robustly.
Features
- Retry on exceptions or result conditions
- Supports exponential backoff and jitter
- Configurable wait and stop strategies
- Retry logging and statistics collection
- Works with synchronous and async functions
- Simple decorator-based API
Categories
LibrariesLicense
Apache License V2.0Follow Tenacity Python
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Tenacity Python!