BSD Ports

devel/py-backoff 2.2.1_1 DragonFly

Function decoration for backoff and retry

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
20.9 KiB, 113.5 KiB installed

Description

The backoff Python 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.

In the other systems

SystemPortVersion
DragonFlydevel/py-backoff2.2.1_1
FreeBSDdevel/py-backoff2.2.1_1
OpenBSDdevel/py-backoff2.2.1p1
MidnightBSDdevel/py-backoff2.2.1_2
HardenedBSDdevel/py-backoff2.2.1_1
GhostBSDdevel/py-backoff2.2.1_1

Install

Binary package:

pkg install py311-backoff

From DPorts:

cd /usr/dports/devel/py-backoff && make install clean

Dependencies

Run dependencies 1