backoff

Python library providing function decorators for configurable backoff and retry

MIT License

Downloads
78.8M
Stars
2.5K
Committers
37

Bot releases are visible (Hide)

backoff - v2.2.1 Latest Release

Published by bgreen-litl about 2 years ago

[v2.2.1] - 2022-10-05

backoff - v2.2.0

Published by bgreen-litl about 2 years ago

[v2.2.0] - 2022-10-05

  • Improve type annotation for wait generators from @hauntsaninja
  • Include exception in details dict of call handlers from @petamas
  • Improve type hints for call handlers from @cdce8p
backoff - v2.1.2

Published by bgreen-litl over 2 years ago

Fixed

backoff - v2.1.1

Published by bgreen-litl over 2 years ago

[v2.1.1] - 2022-06-08

Fixed

backoff - v2.1.0

Published by bgreen-litl over 2 years ago

[v2.1.0] - 2022-06-07

Changed

  • Get max_tries/max_time values for every call fixes #160 (from @jvrsantacruz)
backoff - v2.0.1

Published by bgreen-litl over 2 years ago

Changed

  • Allow None for jitter keyword arg (typing)
backoff - v2.0.0

Published by bgreen-litl over 2 years ago

[v2.0.0] - 2022-04-26

Added

  • Add raise_on_giveup keyword arg for decorators
  • Add backoff.runtime wait generator for dynamically setting wait times based
    on target function return value or exception details

Changed

  • Improve type hints for on_success, on_backoff, on_giveup handlers
  • Use decorator-specific detail and handler type hints
  • Optionally use typing_extensions for python 3.7 type hinting
  • Drop python 3.6 support
  • Add python 3.10 support
backoff - v2.0.0-alpha

Published by bgreen-litl about 3 years ago

Prelease of v2.0.0

  • Drop 2.7 support
  • Add 3.9 support
  • Type hints for public API
  • Support raise_on_giveup kwarg
  • Add backoff.runtime wait generator type (supports e.g. retry-after headers)
backoff - v1.11.1

Published by bgreen-litl over 3 years ago

Changed

  • Update __version__ in backoff module
backoff - v1.11.0

Published by bgreen-litl over 3 years ago

Changed

  • Configurable logging levels for backoff and giveup events
  • Minor documentation fixes

NOTE

THIS WILL BE THE FINAL PYTHON 2.7 COMPATIBLE RELEASE.

backoff - v1.10.0

Published by bgreen-litl almost 5 years ago

[v1.10.0] 2019-12-7

Changed

  • Allow sync decorator call from async function
backoff - v1.9.2

Published by bgreen-litl almost 5 years ago

Changed

  • Don't include tests and changelog in distribution
backoff - v1.9.0

Published by bgreen-litl almost 5 years ago

Changed

  • Support python 3.8
backoff - v1.8.0

Published by bgreen-litl almost 6 years ago

[v1.8.0] - 2018-12-20

Changed

  • Give up on StopIteration raised in wait generators
  • Iterable intervals for constant wait_gen for predefined wait sequences
  • Nullary jitter signature deprecation warning
  • Custom loggers
backoff - v1.7.1

Published by bgreen-litl almost 6 years ago

backoff - v1.7.0

Published by bgreen-litl almost 6 years ago

backoff -

Published by bgreen-litl over 6 years ago

backoff - v1.5.0

Published by bgreen-litl over 6 years ago

[v1.5.0] - 2018-04-11

Changed

  • Add max_time keyword argument
backoff - v1.4.3

Published by bgreen-litl over 7 years ago

[v1.4.3] - 2017-05-22

Changed

  • Add license to source distribution
backoff - v1.4.2

Published by bgreen-litl over 7 years ago

[v1.4.2] - 2017-04-25

Changed