Fork of a popular backoff library with a few fixed bugs
Project description
improved_backoff
Function decoration for backoff and retry
This is a fork of an excellent Python library backoff. The library was forked from version 2.2.1 (October 5, 2022) This version includes 2 PRs proposed in the original repo:
In order to use this module import it under backoff
alias and use it
the same way as the original module
import improved_backoff as backoff
@backoff.on_exception(backoff.expo, requests.exceptions.RequestException)
def get_url(url):
return requests.get(url)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
improved_backoff-1.0.tar.gz
(11.2 kB
view hashes)
Built Distribution
Close
Hashes for improved_backoff-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8809033047e2a8924bbabe07960a9ef2c26a39245d18c297d326d2e19830cb51 |
|
MD5 | fc593ed941e3f1f79835a2db593ac30b |
|
BLAKE2b-256 | 32a60766dc3daacbbc555923ebec20fde78223848ba5fa05c2b6fddbd53cecdb |