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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pyretries-0.2.10.tar.gz.

File metadata

  • Download URL: pyretries-0.2.10.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.9 Linux/6.5.0-1018-azure

File hashes

Hashes for pyretries-0.2.10.tar.gz
Algorithm Hash digest
SHA256 d36f6cad47b80499fb8f06baafb577c3cb092a9830d46fa55c34c294ae463d51
MD5 50d7b0e7f4eb5a5cf91ee4ecc6178525
BLAKE2b-256 f0c67143daaa3f1c98a6d3228b12b8ed23ce1f395d1fb24136e5f27bd278e674

See more details on using hashes here.

File details

Details for the file pyretries-0.2.10-py3-none-any.whl.

File metadata

  • Download URL: pyretries-0.2.10-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.9 Linux/6.5.0-1018-azure

File hashes

Hashes for pyretries-0.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 bd5035f307d390e143a2effa7624240ff82d63ff95760f24cb3408d1089f0355
MD5 d2d136ae23d74485669505dea6db5f84
BLAKE2b-256 f5483c07a9852a47861bc002ebc318ac1a69f45acedc1c0b623ad4d1252a1451

See more details on using hashes here.

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