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.3.tar.gz (4.4 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.3-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file circuit_breaker_box-0.1.3.tar.gz.

File metadata

  • Download URL: circuit_breaker_box-0.1.3.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.31

File hashes

Hashes for circuit_breaker_box-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8dd33553be20f842f56e4a61d2684407c55610de0fb357240b99d9127e0ac72f
MD5 de679ef9828850c7ef4fe153cdba87dd
BLAKE2b-256 f84cf4c3623f45faab7a31b888d1716f4b1f6681db116d8adab565beb1231448

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for circuit_breaker_box-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 170ce4c6382d230437cfe60629412596e0b78208abd9e00af053c3db078f5844
MD5 8a78c633fd8dd56abda445ca935999f4
BLAKE2b-256 0f706d7578be0068eded25316c7a5a23a40e5cf1ad0d29a502048d62f86b1ec3

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