devel/py-backoff 2.2.1_2 MidnightBSD
Function decoration for backoff and retry
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, python
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
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-backoff | 2.2.1_2 |
| FreeBSD | devel/py-backoff | 2.2.1_1 |
| OpenBSD | devel/py-backoff | 2.2.1p1 |
| DragonFly | devel/py-backoff | 2.2.1_1 |
| HardenedBSD | devel/py-backoff | 2.2.1_1 |
| GhostBSD | devel/py-backoff | 2.2.1_1 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}backoff
From mports:
cd /usr/mports/devel/py-backoff && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backoff>0:devel/py-backoff
Dependencies
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| backoff-2.2.1.tar.gz | 17001 | 03f829f5bb1923180821643f8753b0502c3b682293992485b0eef2807afa5cba |
Master sites 1
- PYPI