Comparison
circuitbreaker vs purgatory vs pyresilience
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python Circuit Breaker pattern implementation
Low maintenance activity. Last release 20 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install circuitbreakerA circuit breaker implementation for asyncio
Maintained. Last release 3 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install purgatoryUnified resilience patterns for Python — retry, circuit breaker, timeout, fallback, bulkhead, rate limiter, and cache in one decorator.
Actively maintained. Last release 3 days ago, commits in 11 of the last 26 weeks. A safe choice.
pip install pyresilienceIn short
- circuitbreaker is the most used: 7.5M downloads a month, 13× more than purgatory.
- pyresilience is better maintained: Pythie’s Index 83 against 28.
- pyresilience is growing fastest: downloads +39% over the last month.
- pyresilience is the newcomer: first released Mar 2026.
Side by side
| Metric | circuitbreaker | purgatory | pyresilience |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 28 | Pythie’s Index: 42 | Pythie’s Index: 83 |
| Verdict | Low maintenance activity | Maintained | Actively maintained |
| Downloads / month | 7.5M | 594.3K | 99.2K |
| Downloads, month over month | +11% | -21% | +39% |
| GitHub stars | 522 | 5 | 104 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 27 | 3 | 1 |
| Last release | Mar 31, 2025 | Nov 11, 2026 | Nov 29, 2026 |
| Releases, 12 months | 0 | 1 | 12 |
| Weeks with commits | 0 / 26 | 1 / 26 | 11 / 26 |
| Recent contributors | 8 | 1 | 4 |
| First release | Oct 2016 | Feb 2022 | Mar 2026 |
| Python versions | 3.8 – 3.10 | 3.11 – 3.15 | 3.9 – 3.15 |
| License | BSD-3-Clause | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.