BSD Ports

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

SystemPortVersion
OpenBSDdevel/py-backoff2.2.1p1
FreeBSDdevel/py-backoff2.2.1_1
DragonFlydevel/py-backoff2.2.1_1
MidnightBSDdevel/py-backoff2.2.1_2
HardenedBSDdevel/py-backoff2.2.1_1
GhostBSDdevel/py-backoff2.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.

Commit history 1

DateCommitCreditsLog message
b7bdb54ad4 daniel drop maintainer