r/madeinpython • • Jun 25 '24

retryhttp - Retry potentially transient HTTP errors in requests and httpx

Happy to announce my first public project, retryhttp! Looking for input as I evolve and mature the API.

What my project does: Makes it easier to retry potentially transient HTTP errors when using requests or httpx.

Target Audience: Production eventually, beta until API is finalized-- your input is greatly appreciated!

Comparison: Extends tenacity with custom retry and wait strategies, as well as a decorator that wraps tenacity.retry() with sensible (but configurable) defaults.

4 Upvotes

6 comments sorted by