A Python retry package based on strategies
Project description
PyRetries
A retry library for Python. This library allows:
- Creating custom strategies
- Applying hooks before and after executing function (useful for custom logging)
- Applying hook to when function raised an error (useful for incriminating metrics)
- Applying multiple retry strategies
- 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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d36f6cad47b80499fb8f06baafb577c3cb092a9830d46fa55c34c294ae463d51 |
|
MD5 | 50d7b0e7f4eb5a5cf91ee4ecc6178525 |
|
BLAKE2b-256 | f0c67143daaa3f1c98a6d3228b12b8ed23ce1f395d1fb24136e5f27bd278e674 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd5035f307d390e143a2effa7624240ff82d63ff95760f24cb3408d1089f0355 |
|
MD5 | d2d136ae23d74485669505dea6db5f84 |
|
BLAKE2b-256 | f5483c07a9852a47861bc002ebc318ac1a69f45acedc1c0b623ad4d1252a1451 |