db-try This library provides retry decorators for sqlalchemy and some helpers Default settings are in ./db_try/settings.py. You can redefine them by environment variables.