devel/py-pybreaker 1.4.1 DragonFly
Python implementation of the Circuit Breaker pattern
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD3CLAUSE
- Categories
- devel, python
- Package size
- 23.8 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
The newest version among them is 1.4.1, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/py-pybreaker | 1.4.1 newest | none known | - | [email protected] | - |
| FreeBSD | devel/py-pybreaker | 1.4.1 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/py-pybreaker | 1.4.1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-pybreaker | 1.4.1 newest | no data | - | [email protected] | - |
Version history 1
- 1.4.1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkg install py312-pybreaker
From DPorts:
cd /usr/dports/devel/py-pybreaker && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.