BSD Ports

devel/py-pybreaker 1.4.1 FreeBSD

Python implementation of the Circuit Breaker pattern

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
devel, python
Package size
25.1 KiB, 140.6 KiB installed

Description

PyBreaker is a Python implementation of the Circuit Breaker pattern, described in Michael T. Nygard's book Release It!.

In Nygard's words, "circuit breakers exists to allow one subsystem to fail without destroying the entire system. This is done by wrapping dangerous operations (typically integration points) with a component that can circumvent calls when the system is not healthy".

Features:

  • Configurable list of excluded exceptions (e.g. business exceptions)
  • Configurable failure threshold and reset timeout
  • Support for several event listeners per circuit breaker
  • Can guard generator functions
  • Functions and properties for easy monitoring and management
  • Thread-safe
  • Optional redis backing
  • Optional support for asynchronous Tornado calls

In the other systems

SystemPortVersion
FreeBSDdevel/py-pybreaker1.4.1
HardenedBSDdevel/py-pybreaker1.4.1
GhostBSDdevel/py-pybreaker1.4.1

Install

Binary package:

pkg install py312-pybreaker

From the ports tree:

cd /usr/ports/devel/py-pybreaker/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-pybreaker>0:devel/py-pybreaker

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.4.11.4.1--1.4.1
FreeBSD:14:quarterly1.4.11.4.1n/a-1.4.1
FreeBSD:15:latest1.4.11.4.1n/a--
FreeBSD:15:quarterly1.4.11.4.1n/an/an/a
FreeBSD:16:latest1.4.11.4.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 15
Run dependencies 7

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pybreaker-1.4.1.tar.gz155558df2d245c73ba40c8242c56ffb4f12138fbadc23e296224740c2028ea9dc1178
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.