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.5.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for pyretries-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f6d329fed0abe26906e1129f6ade67488c5bbace1382137bfa223e7ce858141 |
|
MD5 | 38d33da3c38550e7fae88a430382ae07 |
|
BLAKE2b-256 | 0dee629828719d57e68ec71d9f46061aac72d925da55954ea406a71681fdc0e9 |