{"library":"pybreaker","type":"library","category":null,"description":"PyBreaker is a Python implementation of the Circuit Breaker pattern, a resilience mechanism described in Michael T. Nygard's book 'Release It!'. It prevents cascading failures in distributed systems by detecting unhealthy services and temporarily stopping requests to them. The library provides configurable failure thresholds, reset timeouts, and optional Redis backing for state management. It is actively maintained, with the current version being 1.4.1, and receives regular updates.","language":"python","status":"active","version":"1.4.1","tags":["circuit breaker","resilience","fault tolerance","microservices","distributed systems"],"install":[{"cmd":"pip install pybreaker","imports":["from pybreaker import CircuitBreaker","from pybreaker import CircuitRedisStorage","from pybreaker import CircuitBreakerError"]},{"cmd":"pip install pybreaker[redis]","imports":[]}],"homepage":null,"github":"http://github.com/danielfm/pybreaker","docs":null,"changelog":null,"pypi":"https://pypi.org/project/pybreaker/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0.04,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/pybreaker/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":"verified"}}