
This is a Python implementation of the "Circuit Breaker" Pattern:
https://martinfowler.com/bliki/CircuitBreaker.html
Inspired by Michael T. Nygard's highly recommendable book *Release It!*:
https://pragprog.com/titles/mnee2/release-it-second-edition/