python-circuit-breaker-policy

Community

Enhance Your Python SDK Resilience with Circuit Breakers.

AuthorPremModhaOfficial
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It mitigates failure amplification by implementing configurable circuit breakers to control external dependency access in Python SDKs.

Core Features & Use Cases

  • Failure Prevention: Prevents retries from worsening downstream outages.
  • State Management: Implements open/half-open/closed states with thresholds and timeouts.
  • Technical Scope: Compatible with async libraries like purgatory, supports custom exception exclusions, and integrates with OpenTelemetry for observability.

Quick Start

Implement circuit breakers in your SDK functions to automatically open on repeated failures, ensuring system stability during dependencies outages.

Dependency Matrix

Required Modules

None required

Components

references

💻 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-circuit-breaker-policy
Download link: https://github.com/PremModhaOfficial/sdk-pipeline/archive/main.zip#python-circuit-breaker-policy

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 471,000+ vetted skills library on demand.