For Python, consider Tenacity: https://tenacity.readthedocs.io/en/latest/
At the CLI, this is nice for not depending on Node.
replies(5):
At the CLI, this is nice for not depending on Node.
I moved away from tenacity because of type-checking issues. I might check out stamina next time.