All in one retry and aioretry decorators
Project description
KaioRetry
KaioRetry is (yet another) retry decorator implementation, which is clearly inspired by the original retry module and is actually backward compatible with it.
I say backward because, while retry
clearly did the job for me for a
time, at some point I've encountered a big limitation: it did not work
with asyncio coroutines. And it's been unmaintained for 6 years.
I found a few alternatives for that but none of them were both sync and async and since I did not wanted to use 2 differents modules for the same goal, I've decided to write this one, with the rule that the code duplication, between the sync and async versions, should be smartly kept to a very very strict minimum.
And here we are then.
Documentation
API Documentation is available on readthedocs: [https://kaioretry.readthedocs.io/en/latest/]
TODO List
- Stop messing up the stack trace
- Add unit tests pipelines
- Write a decent README
- Improve documentation display on the RTD
- Lower requirements to python 3.10 if possible (and if i feel like it)
- Lower requirements to python 3.9 if possible (and if i feel like it)
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
Built Distribution
Hashes for kaioretry-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc261f4cddb7a8e8e214a58d661a188e0fdbed52fdb50ff5c9ebfecc7a9ac52a |
|
MD5 | 8f788c3405606142e7dcdeeab905a707 |
|
BLAKE2b-256 | e2fb3a25989f8db99172f2d583652eefe52c7ad2bc40ff9ba1c93a3adb842b48 |