#NEWLINE# def create_decked_out_app( ) : #NEWLINE# #INDENT# resources = { #NEWLINE# #INDENT# 'start_time' : time . time ( ) , #NEWLINE# 'module_list' : sys . modules . keys ( ) , #NEWLINE# #UNINDENT# } #NEWLINE# middlewares = [ GetParamMiddleware ( [ 'name' , 'date' , 'session_id' , 'limit' ] ) , SignedCookieMiddleware ( ) , SimpleContextProcessor ( 'name' ) ] #NEWLINE# routes = [ ( '/' , cookie_hello_world , render_basic ) , ( '/debug' , debug , render_basic ) , ( '/fizzbuzz' , fizzbuzz , render_basic ) , ( '/modules' , see_modules , render_basic ) , ( '/fraiser' , fraiser , render_basic ) ] #NEWLINE# return Application ( routes , routes , middlewares = middlewares )