Skip to main content

Implementation 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.0.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.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: circuit_breaker_box-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 03636be080b10068a1c17c820ae95cae51920eec2252b7c82302418f40d49837
MD5 66294826ba9d7938a04326cd1636e7dc
BLAKE2b-256 9c8a4c662b13637a228aaba6691560bfc7ea2789615531a14fee809bc6130639

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for circuit_breaker_box-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dbeefbd2cec83b7a630b2a3903200fc97832e551931046dfd856e38bc31fa3cd
MD5 4d5f1f6581a5071bf91b81ce9cea83d7
BLAKE2b-256 4411ba381142566ee7837c265b762b2b7cfcb2eccc4e553807fc821f9c3723ef

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