Skip to content

Releases: Hoopoes/retrytools

Initial release: retrytools v0.0.3.post1

Choose a tag to compare

@umar-anzar umar-anzar released this 09 Jun 09:46

🚀 Initial Release — retrytools v0.0.3.post1

This is the first official release of retrytools, a simple and flexible retry decorator for both sync and async Python functions.

🔧 Features

  • ✅ Retry failed function calls with exponential backoff
  • 🔁 Supports both sync and async functions
  • ⚙️ Customize:
    • Maximum retry attempts
    • Backoff factor
    • Maximum wait time
    • Optional jitter
    • Retry specific exceptions
  • 📦 Typed and tested, compatible with:
    • Python 3.7+
    • Modern typing-extensions support

📦 Installation

pip install retrytools
# or
uv add retrytools
# or
poetry add retrytools

📚 Usage

from retrytools import retry

@retry(catch_errors=(RuntimeError, ValueError), delay=2)
def flaky_function():
    # ...

See full documentation at GitHub Repository

❤️ Thanks for trying it out!

If you like the project, consider starring ⭐ the repo or submitting feedback/issues.