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.0.tar.gz (3.8 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for backoff-1.2.0.tar.gz
Algorithm Hash digest
SHA256 ce1008c25ada98f55d6035264b1bac66b0a1c5d09d25ae1ada7fc7a76297a9f4
MD5 fc0385f9560311a2927d29617362f7f8
BLAKE2b-256 f5d35d615dcd84f73cf1a2c9adaa19c5f833e535bb65c0f91aab962aa89dd4c8

See more details on using hashes here.

Supported by

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