# Python Circuit Breaker Box
A Python implementation of the Circuit Breaker pattern.
## Features
- 🚀 Implementations:
- **Redis-based**
- **In-memory**
- [](https://python.org) 3.10-3.13 support.
- ⚡ Asynchronous API
- 🔧 Configurable parameters
- 🔄 Retries by [tenacity](https://tenacity.readthedocs.io/en/latest/)
- 🛠️ FastAPI integration through custom exceptions
## Installation
```bash
pip install circuit-breaker-box
```
## Usage
See -> [Examples](examples/example_circuit_breaker.py)
## Development
### Commands
Use -> [Justfile](Justfile)
Raw data
{
"_id": null,
"home_page": null,
"name": "circuit-breaker-box",
"maintainer": null,
"docs_url": null,
"requires_python": "<4,>=3.10",
"maintainer_email": null,
"keywords": "python",
"author": "community-of-python",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/15/27/2d6d7e1f198387a1583a7f137b607cf90da565ca4fd1c67a513e56118ee1/circuit_breaker_box-0.2.3.tar.gz",
"platform": null,
"description": "# Python Circuit Breaker Box\n\nA Python implementation of the Circuit Breaker pattern.\n\n## Features\n\n- \ud83d\ude80 Implementations:\n - **Redis-based**\n - **In-memory**\n- [](https://python.org) 3.10-3.13 support.\n- \u26a1 Asynchronous API\n- \ud83d\udd27 Configurable parameters\n- \ud83d\udd04 Retries by [tenacity](https://tenacity.readthedocs.io/en/latest/)\n- \ud83d\udee0\ufe0f FastAPI integration through custom exceptions\n\n## Installation\n```bash\npip install circuit-breaker-box\n```\n\n## Usage\nSee -> [Examples](examples/example_circuit_breaker.py)\n\n## Development\n### Commands\nUse -> [Justfile](Justfile)\n",
"bugtrack_url": null,
"license": null,
"summary": "Implementations of the Circuit Breaker",
"version": "0.2.3",
"project_urls": {
"Changelogs": "https://github.com/community-of-python/circuit-breaker-box/releases",
"Issues": "https://github.com/community-of-python/circuit-breaker-box/issues",
"Repository": "https://github.com/community-of-python/circuit-breaker-box"
},
"split_keywords": [
"python"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "d709f350fd5e2e4c9c08b64006ec4217a3de368f0ebdabbab2d395471b6498d9",
"md5": "852a96a151d2d8cd5dab60fdaa2cb549",
"sha256": "adc7635750be980fc9ae3bd6fb36dbc50ba9a01f1a5b5602a1bc5ec57ae943d7"
},
"downloads": -1,
"filename": "circuit_breaker_box-0.2.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "852a96a151d2d8cd5dab60fdaa2cb549",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.10",
"size": 6244,
"upload_time": "2025-02-18T08:52:50",
"upload_time_iso_8601": "2025-02-18T08:52:50.917055Z",
"url": "https://files.pythonhosted.org/packages/d7/09/f350fd5e2e4c9c08b64006ec4217a3de368f0ebdabbab2d395471b6498d9/circuit_breaker_box-0.2.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "15272d6d7e1f198387a1583a7f137b607cf90da565ca4fd1c67a513e56118ee1",
"md5": "dd8e8bc2c76e6ab18e7240ef0d4a0ab2",
"sha256": "3bca6a7346dc281f37ceef9fd68c508d33788c076a506bccee22d0fa55c7c957"
},
"downloads": -1,
"filename": "circuit_breaker_box-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "dd8e8bc2c76e6ab18e7240ef0d4a0ab2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.10",
"size": 5803,
"upload_time": "2025-02-18T08:52:51",
"upload_time_iso_8601": "2025-02-18T08:52:51.840154Z",
"url": "https://files.pythonhosted.org/packages/15/27/2d6d7e1f198387a1583a7f137b607cf90da565ca4fd1c67a513e56118ee1/circuit_breaker_box-0.2.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-18 08:52:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "community-of-python",
"github_project": "circuit-breaker-box",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "circuit-breaker-box"
}