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.3.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for pyretries-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cde81997a0ab9a25ffe80086f9b6719e2c76c1485681ba850d77bb08d9e0c036 |
|
MD5 | 487361a7c6606ee4f620e1343302ea7d |
|
BLAKE2b-256 | 3b5dcab5e50847753600113251ef7dcf5d8b29fc9ce3632bd0ead57329698576 |