Module ImportFrom alias alias alias alias Import alias Import alias Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Import alias identifier FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore TupleLoad BoolOpOr NameLoad Str BoolOpOr NameLoad Str Return Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Return BinOpMod Str TupleLoad NameLoad Call NameLoad ListLoad TupleLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Return CompareEq SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str ListLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args defaults body Import alias Import alias ImportFrom alias alias alias Expr Call NameLoad Str keyword Str keyword NameLoad Assign NameStore Call NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num If BoolOpAnd NameLoad CompareEq SubscriptLoad NameLoad Index Num Str body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str NameLoad Expr Call NameLoad BinOpMod Str Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad BinOpMod Str Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A __future__ absolute_import division print_function with_statement N/A hashlib N/A hmac N/A re N/A N/A urllib urlencode N/A N/A N/A ImportError N/A urllib.parse urlencode N/A N/A N/A urlparse N/A N/A N/A ImportError N/A N/A urllib.parse urlparse derive_signature N/A N/A key qs N/A N/A N/A Derives the signature from the supplied query string using the key. N/A N/A key qs N/A N/A key N/A qs N/A N/A N/A N/A N/A hmac new N/A N/A key encode N/A N/A qs encode N/A hashlib sha1 hexdigest N/A sign N/A N/A key qs N/A N/A N/A Signs the query string using the key. N/A sig N/A derive_signature key qs N/A N/A %s&%s N/A qs N/A urlencode N/A N/A sig sig N/A verify_signature N/A N/A key qs N/A N/A N/A Verifies that the signature in the query string is correct. N/A unsigned_qs N/A N/A re sub &?sig=[^&]* qs N/A sig N/A derive_signature key unsigned_qs N/A N/A N/A N/A N/A N/A N/A urlparse parse_qs qs get sig N/A None N/A 0 sig N/A main N/A N/A N/A N/A N/A sys N/A tornado.options tornado.options define options parse_command_line N/A N/A define key help the signing key type str N/A args N/A parse_command_line N/A N/A N/A options key N/A N/A N/A N/A N/A tornado options print_help N/A N/A N/A sys exit N/A qs N/A args N/A 0 N/A N/A qs N/A N/A qs N/A 0 ? N/A N/A N/A print Invalid query string, should not include leading '?' N/A N/A N/A sys exit N/A N/A print N/A Query String: %s qs N/A N/A print N/A Signature: %s N/A derive_signature N/A options key qs N/A N/A print N/A Signed Query String: %s N/A sign N/A options key qs N/A N/A N/A __name__ __main__ N/A N/A N/A main