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.2.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.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: circuit_breaker_box-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 9482f55283f41589378bdd363d7bee1fe67a2994350f9389dc6d574b9ebfd693
MD5 216b604c476a14f39e773a603b177f15
BLAKE2b-256 1b0bf73a63300d80ab6f2f52698056280ebcf735bf45124bef3ae5e18c2bd699

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for circuit_breaker_box-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 05b24ed1a89bbd94b16daf266b848a0576345a129cd740f5563f0906196467f5
MD5 debabec602197abb56813f67a39e891f
BLAKE2b-256 ca7546c526f359f5c85161a45bb54f11217e5acd3732116df35952c00364e2ea

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