Dogslow

Dogslow 0.9.5

Dogslow is Django watchdog middleware class that logs tracebacks of slow requests.Installation:Install dogslow:pip install dogslowThen add if to your list of middleware classes in your Django settings.py file:MIDDLEWARE_CLASSES =...

read more

interruptingcow is a generic Python utility that can relatively gracefully interrupt your code when it doesn't execute within a specific number of seconds:from interruptingcow import timeouttry: with timeout(5): # perform a potentially very slow...