Implementation of the Circuit Breaker
Project description
Python Circuit Breaker Box
A Python implementation of the Circuit Breaker pattern with Redis and in-memory storage support.
Features
- 🚀 Implementations:
- Redis-based
- In-memory
3.10-3.13 support.
- ⚡ Asynchronous API
- 🔧 Configurable parameters
- 🛠️ FastAPI integration through custom exceptions
- 🔄 Exponential backoff by tenacity with jitter for retries
Installation
pip install circuit-breaker-box
Usage
See -> Examples
Development
Commands
Use -> Justfile
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file circuit_breaker_box-0.1.1.tar.gz.
File metadata
- Download URL: circuit_breaker_box-0.1.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.31
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5795cb1d89b54ee5d76645800dfbc38e0f91a5dd1aadd6c1baf8199f97f4ef8b
|
|
| MD5 |
11a4a9b324752f296c9800cc6b5f8bec
|
|
| BLAKE2b-256 |
39efb8e0babb1272ee64a80496e2134e3fea27de999e801e6394ab11edbce131
|
File details
Details for the file circuit_breaker_box-0.1.1-py3-none-any.whl.
File metadata
- Download URL: circuit_breaker_box-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.31
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72017141ba2e196ddfab81b7a1da064d21a7e98545cfe8ebf7977fe071eb1f4a
|
|
| MD5 |
047ca1f011de600e5fb627147be0075c
|
|
| BLAKE2b-256 |
f3eaf5250517a3e29811408a42dc11f2a29218ea632a2ac60fe79abcb8f22f8d
|