Skip to main content

Function decoration for backoff and retry

Project description

Function decoration for backoff and retry

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.

For examples and full documentation see the README at https://github.com/litl/backoff

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

backoff-1.2.1.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file backoff-1.2.1.tar.gz.

File metadata

  • Download URL: backoff-1.2.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for backoff-1.2.1.tar.gz
Algorithm Hash digest
SHA256 9980b16ad61736d8692cd93960021afeea551bb07795abdace2c8d06bfdcc993
MD5 7bbdbb5d6baee5cbbcff30a9736c22c8
BLAKE2b-256 24ca2b15c69e797182aae03b42f06d30ddc195af6ae4d616d5c3f4f1cd5d8a28

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page