python-resilience

Community

Build robust Python applications.

AuthorDrLuggels
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers build more reliable Python applications by implementing patterns that gracefully handle transient failures, network issues, and service outages.

Core Features & Use Cases

  • Automatic Retries: Implement retry logic for external service calls that may fail temporarily.
  • Exponential Backoff & Jitter: Prevent overwhelming services during recovery by increasing wait times with random delays.
  • Timeouts: Ensure operations don't hang indefinitely by setting strict time limits.
  • Fault-Tolerant Decorators: Create reusable decorators for common resilience patterns.
  • Use Case: When calling a third-party API that occasionally returns 5xx errors or times out, this Skill can automatically retry the request a few times with increasing delays, ensuring your application remains functional.

Quick Start

Use the python-resilience skill to define a function that retries up to 3 times with exponential backoff and jitter when calling an external service.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: python-resilience
Download link: https://github.com/DrLuggels/my_dhbw/archive/main.zip#python-resilience

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.