Skip to main content

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
  • Python 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

circuit_breaker_box-0.1.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

circuit_breaker_box-0.1.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

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

Hashes for circuit_breaker_box-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5795cb1d89b54ee5d76645800dfbc38e0f91a5dd1aadd6c1baf8199f97f4ef8b
MD5 11a4a9b324752f296c9800cc6b5f8bec
BLAKE2b-256 39efb8e0babb1272ee64a80496e2134e3fea27de999e801e6394ab11edbce131

See more details on using hashes here.

File details

Details for the file circuit_breaker_box-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for circuit_breaker_box-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 72017141ba2e196ddfab81b7a1da064d21a7e98545cfe8ebf7977fe071eb1f4a
MD5 047ca1f011de600e5fb627147be0075c
BLAKE2b-256 f3eaf5250517a3e29811408a42dc11f2a29218ea632a2ac60fe79abcb8f22f8d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page