Skip to main content

Implementations of the Circuit Breaker

Project description

Python Circuit Breaker Box

A Python implementation of the Circuit Breaker pattern.

Features

  • 🚀 Implementations:
    • Redis-based
    • In-memory
  • Python 3.10-3.13 support.
  • ⚡ Asynchronous API
  • 🔧 Configurable parameters
  • 🔄 Retries by tenacity
  • 🛠️ FastAPI integration through custom exceptions

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.2.1.tar.gz (5.8 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.2.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for circuit_breaker_box-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5db0b5248c4f2946db4703e67cc45bc25473b5d841bb15a974aa30f7e3693a98
MD5 bc471684ef0fcf947b910d5ad1850e73
BLAKE2b-256 72eb2a131bbe4d257d73bba35da293b0ef44a48c8fbe58f58296636ecf7c6091

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for circuit_breaker_box-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aee98412b0223736d88278081fef67b3e5da29942b177dc4bcee8359c8081358
MD5 7a31ba3811a575a31de4341152c755e0
BLAKE2b-256 6ce257ca5a6e897365284ecc9f700142def738bb8b6a9b4031b07e65a32943c0

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