Skip to content

Releases: talaatmagdyx/retry_plus

v1.0.5

09 Jun 02:17
Compare
Choose a tag to compare
  • reduce required installation package

default_value_for_required_condition

07 Jun 03:38
Compare
Choose a tag to compare

Full Changelog: 1.0.3...1.0.4

  • default_stop_condition stops retrying after 3 attempts.
  • default_wait_condition waits 1 second between attempts.
  • If no stop_condition or wait_condition is provided, the defaults will be used.

Initial release

04 Jun 02:16
Compare
Choose a tag to compare
  • Initial release of the retry package.
  • Generic decorator API for retrying operations.
  • Support for synchronous and asynchronous functions.
  • Various stop conditions (e.g., number of attempts, time-based).
  • Various wait conditions (e.g., exponential backoff, fixed delay, random delay).
  • Customizable retry conditions based on exceptions and result values.
  • Context manager support.
  • Logging and custom callbacks before/after retries and before sleep.
  • Retry statistics and dynamic arguments at runtime.