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.9.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for pyretries-0.2.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9e48c09dec908c59675b41d7237190ab37c8d655cddbd9bdb348c7ba87cb8d7 |
|
MD5 | 29030efc472f1f88f6d1812ae6976bcd |
|
BLAKE2b-256 | e36b3816a1a6f7c7ec64c5a7e80fa22b0ce85eb6fcbd1d08f5b39d586626058a |