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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-pybreaker | 1.4.1 |
| HardenedBSD | devel/py-pybreaker | 1.4.1 |
| GhostBSD | devel/py-pybreaker | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.4.1 | 1.4.1 | - | - | 1.4.1 |
| FreeBSD:14:quarterly | 1.4.1 | 1.4.1 | n/a | - | 1.4.1 |
| FreeBSD:15:latest | 1.4.1 | 1.4.1 | n/a | - | - |
| FreeBSD:15:quarterly | 1.4.1 | 1.4.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.4.1 | 1.4.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}flit-core>=3.9: devel/py-flit-core
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 7
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pybreaker-1.4.1.tar.gz | 15555 | 8df2d245c73ba40c8242c56ffb4f12138fbadc23e296224740c2028ea9dc1178 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.