devel/py-backoff 2.2.1p1 OpenBSD
function decorators for backoff and retry
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Last update
- Commit
b7bdb54ad4- Categories
- devel, lang/python
Description
This module provides function decorators which can be used to wrap a function such that it will be retried until some condition is met. It is meant to be of use when accessing unreliable resources with the potential for intermittent failures i.e. network resources and external APIs. Somewhat more generally, it may also be of use for dynamically polling resources for externally generated content.
Decorators support both regular functions for synchronous code and asyncio 's coroutines for asynchronous code.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/py-backoff | 2.2.1p1 |
| FreeBSD | devel/py-backoff | 2.2.1_1 |
| DragonFly | devel/py-backoff | 2.2.1_1 |
| MidnightBSD | devel/py-backoff | 2.2.1_2 |
| HardenedBSD | devel/py-backoff | 2.2.1_1 |
| GhostBSD | devel/py-backoff | 2.2.1_1 |
Install
Binary package:
pkg_add py3-backoff
From the ports tree:
cd /usr/ports/devel/py-backoff && make install
Dependencies
Build dependencies 4
Run dependencies 1
No port depends on this one.