Module ImportFrom alias alias Import alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call NameLoad NameLoad FunctionDef arguments args defaults body Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad Str keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Print TupleLoad Str NameLoad Print TupleLoad Str NameLoad Print TupleLoad Str NameLoad Print TupleLoad Str NameLoad Print TupleLoad Str NameLoad Print TupleLoad Str NameLoad TryExcept body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call NameLoad Num If CompareEq AttributeLoad NameLoad attr Str body Return NameLoad orelse Print BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Print BinOpMod Str NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Expr Call NameLoad Num Assign NameStore Call NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad Str NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str Num keyword NameLoad
N/A __future__ absolute_import unicode_literals N/A os flask Flask request abort render_template wechatpy.crypto WeChatCrypto wechatpy parse_message create_reply wechatpy.utils check_signature wechatpy.exceptions InvalidSignatureException wechatpy.exceptions InvalidAppIdException N/A TOKEN N/A N/A os getenv WECHAT_TOKEN 123456 N/A EncodingAESKey N/A N/A os getenv WECHAT_ENCODING_AES_KEY N/A AppId N/A N/A os getenv WECHAT_APP_ID N/A app N/A Flask __name__ index N/A N/A N/A N/A N/A host N/A request url_root N/A N/A render_template index.html host host N/A N/A N/A app route / wechat N/A N/A N/A N/A N/A signature N/A N/A N/A request args get signature N/A timestamp N/A N/A N/A request args get timestamp N/A nonce N/A N/A N/A request args get nonce N/A echo_str N/A N/A N/A request args get echostr N/A encrypt_type N/A N/A N/A request args get encrypt_type N/A msg_signature N/A N/A N/A request args get msg_signature N/A N/A signature: signature N/A N/A timestamp:  timestamp N/A N/A nonce: nonce N/A N/A echo_str: echo_str N/A N/A encrypt_type: encrypt_type N/A N/A msg_signature: msg_signature N/A N/A N/A N/A check_signature TOKEN signature timestamp nonce N/A N/A N/A InvalidSignatureException N/A N/A N/A abort 403 N/A N/A N/A request method GET N/A N/A echo_str N/A N/A N/A Raw message: 
%s N/A request data N/A crypto N/A WeChatCrypto TOKEN EncodingAESKey AppId N/A N/A N/A msg N/A N/A crypto decrypt_message N/A request data msg_signature timestamp nonce N/A N/A Descypted message: 
%s msg N/A N/A N/A N/A InvalidSignatureException InvalidAppIdException N/A N/A N/A abort 403 N/A msg N/A parse_message msg N/A N/A N/A msg type text N/A N/A reply N/A create_reply N/A msg content msg N/A N/A reply N/A create_reply Sorry, can not handle this for now msg N/A N/A N/A crypto encrypt_message N/A N/A reply render nonce timestamp N/A N/A N/A app route /wechat methods N/A GET POST N/A N/A __name__ __main__ N/A N/A N/A N/A app run 127.0.0.1 5001 debug True