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.7.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for pyretries-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13bef52b9070fdca6041e5ac9a7f71d2b653207a36b8c5ff68485394721a5866 |
|
MD5 | 90df0e8519bbf43564d646e118695144 |
|
BLAKE2b-256 | 08085c416e5aede61a2c3b9f353c8149399e6fd48724752b74da7ba781b3b54a |