Python Resilience

•
39k
•

Implements fault-tolerant Python resilience patterns including exponential backoff, retries, jitter, and timeouts for robust services.

The Python Resilience skill equips Claude Code with production-ready patterns to build fault-tolerant Python applications that gracefully handle transient network errors, service outages, and rate limits. It provides expert guidance on using the Tenacity library, structuring selective exception handling, configuring exponential backoff with jitter to prevent thundering herd problems, and implementing robust timeouts across external API calls and microservices.

주요 기능

01Automatic retry logic configuration using the Tenacity library
02Selective error whitelisting for transient exceptions and HTTP status codes
03Total duration caps and bounded retry constraints
0439,277 GitHub stars
05Exponential backoff with jitter to prevent thundering herds
06Clean infrastructure decorator patterns for separating retry and business logic

사용 사례

01Implementing exponential backoff and jitter for resilient microservice communication
02Adding bounded retry decorators and strict timeouts to legacy Python backend calls
03Hardening external REST API integrations against transient connection errors and 429 rate limits