retry_plus

A generic retry package for Python.

MIT License

Downloads
201
Stars
4
retry_plus - v1.0.5 Latest Release

Published by talaatmagdyx 5 months ago

  • reduce required installation package
retry_plus - default_value_for_required_condition

Published by talaatmagdyx 5 months ago

Full Changelog: https://github.com/talaatmagdyx/retry_plus/compare/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.
retry_plus - Initial release

Published by talaatmagdyx 5 months ago

  • 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.