Metadata-Version: 2.4
Name: circuit-breaker-box
Version: 0.1.1
Summary: Implementation of the Circuit Breaker
Author: community-of-python
Requires-Python: <4,>=3.10
Requires-Dist: cachetools
Requires-Dist: httpx
Requires-Dist: loguru
Requires-Dist: redis
Requires-Dist: tenacity
Description-Content-Type: text/markdown

# 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**
- [![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=FFD43B)](https://python.org) 3.10-3.13 support.
- ⚡ Asynchronous API
- 🔧 Configurable parameters
- 🛠️ FastAPI integration through custom exceptions
- 🔄 Exponential backoff by [tenacity](https://tenacity.readthedocs.io/en/latest/) with jitter for retries

## Installation
```bash
pip install circuit-breaker-box
```

## Usage
See -> [Examples](examples/example_circuit_breaker.py)

## Development
### Commands
Use -> [Justfile](Justfile)
