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.4.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for pyretries-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6eaeae903e417fc453635c30071fed5373236e1d00a8aa7fba05ac36bf335d29 |
|
MD5 | 6de3d063cf357bcca28e13bb6442cdd2 |
|
BLAKE2b-256 | 28cfeeac88cb93e5883235ed8b9b1c8a111ea68811dfe5860fc3bd7fb3ac7de4 |