Skip to main content

txretry provides a Twisted class, RetryingCall, that calls a function until it succeeds. A back-off iterator (a generator function that yields intervals) can be specified to customize the interval between retried calls. When/if the back-off iterator raises StopIteration the attempt to call the function is aborted. An instance of the RetryingCall class provides a start method that returns a Deferred that will fire with the function result or errback with the first failure encountered.

Usage of the class is described in the following blog post: http://blogs.fluidinfo.com/terry/2009/11/12/twisted-code-for-retrying-function-calls/

Metadata

Release files for txretry 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for txretry 1.0.1
File Size Uploaded
txretry-1.0.1.tar.gz 6.3 kB Details

Release files / txretry-1.0.1.tar.gz

Download URL txretry-1.0.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
16c2aa9e9c676906d43f0a4f3e9b1517a76acd0eeb0cadbce03c5e366029b391
BLAKE2b-256 checksum
How to use checksums
cda2a7153625b71d6b3dc213dac220eec602e03c13ec2bc1af424d6076e7c566
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

1.0.0

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page