time_limit
Set a time limit for a function's execution time with python decorators!
decorator that limits the runtime of a function
pip install time_limit==2017.6.15
Set a time limit for a function's execution time with python decorators!