Skip to main content

A Python retry package based on strategies

Project description

PyRetries

Github actions codecov

A retry library for Python. This library allows:

  1. Creating custom strategies
  2. Applying hooks before and after executing function (useful for custom logging)
  3. Applying hook to when function raised an error (useful for incriminating metrics)
  4. Applying multiple retry strategies
  5. Fully typed

See documentation for more information.

Installing

The package is available through Pypi. You can install using pip or any of your favorite package manager:

pip install pyretries

Or using poetry

poetry add pyretries

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

pyretries-0.2.10.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

pyretries-0.2.10-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

Supported by

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