SYMBOL INDEX (296 symbols across 38 files) FILE: tests/api/chats/test_chat.py class TestChat (line 1) | class TestChat: method test_pin_unpin (line 2) | def test_pin_unpin(self, friend): FILE: tests/api/chats/test_chats.py class TestChats (line 6) | class TestChats: method test_search (line 7) | def test_search(self, group, friend): method test_stats (line 12) | def test_stats(self, group): method test_stats_text (line 19) | def test_stats_text(self, group): FILE: tests/api/chats/test_friend.py class TestFriend (line 1) | class TestFriend: FILE: tests/api/chats/test_group.py class TestGroup (line 6) | class TestGroup: method test_group_attributes (line 7) | def test_group_attributes(self, group, friend, member): method test_update_group (line 16) | def test_update_group(self, group): method test_add_members (line 20) | def test_add_members(self, group, member): method test_remove_members (line 27) | def test_remove_members(self, member): FILE: tests/api/chats/test_groups.py class TestGroups (line 1) | class TestGroups: method test_search (line 2) | def test_search(self, bot, group, member, friend): FILE: tests/api/chats/test_mp.py class TestMP (line 1) | class TestMP: FILE: tests/api/chats/test_user.py class TestUser (line 6) | class TestUser: method test_friend_attributes (line 7) | def test_friend_attributes(self, friend): method test_accept (line 21) | def test_accept(self, member): method test_remark_name (line 25) | def test_remark_name(self, friend, member): FILE: tests/api/messages/test_message.py function sent_message (line 7) | def sent_message(sent_msg, msg_type, receiver): class TestMessage (line 18) | class TestMessage: method test_text_message (line 19) | def test_text_message(self, group, friend): method test_picture_message (line 36) | def test_picture_message(self, group, image_path): method test_video_message (line 41) | def test_video_message(self, group, video_path): method test_raw_message (line 46) | def test_raw_message(self, group): method test_send (line 52) | def test_send(self, friend, file_path, image_path, video_path): FILE: tests/api/test_bot.py class TestBot (line 8) | class TestBot: method test_self (line 9) | def test_self(self, bot): method test_repr (line 13) | def test_repr(self, bot): method test_alive (line 16) | def test_alive(self, bot): method test_dump_login_status (line 19) | def test_dump_login_status(self, bot): method test_enable_puid (line 24) | def test_enable_puid(self, bot, base_dir): method test_chats (line 30) | def test_chats(self, bot): method test_friends (line 35) | def test_friends(self, bot): method test_groups (line 42) | def test_groups(self, bot): method test_mps (line 49) | def test_mps(self, bot): method test_search (line 55) | def test_search(self, bot): method test_create_group (line 65) | def test_create_group(self, bot): method test_upload_file (line 86) | def test_upload_file(self, bot, file_path, friend): FILE: tests/conftest.py function base_dir (line 33) | def base_dir(): function bot (line 38) | def bot(): function friend (line 43) | def friend(): function group (line 57) | def group(): function shared_dict (line 62) | def shared_dict(): function member (line 67) | def member(): function image_path (line 72) | def image_path(): function file_path (line 77) | def file_path(): function video_path (line 82) | def video_path(): function wait_for_message (line 86) | def wait_for_message(chats=None, msg_types=None, except_self=True, timeo... FILE: wxpy/__init__.py class NullHandler (line 82) | class NullHandler(logging.Handler): method emit (line 83) | def emit(self, record): FILE: wxpy/api/bot.py class Bot (line 33) | class Bot(object): method __init__ (line 49) | def __init__( method __repr__ (line 121) | def __repr__(self): method __unicode__ (line 124) | def __unicode__(self): method logout (line 128) | def logout(self): method alive (line 138) | def alive(self): method alive (line 146) | def alive(self, value): method dump_login_status (line 149) | def dump_login_status(self, cache_path=None): method enable_puid (line 155) | def enable_puid(self, path='wxpy_puid.pkl'): method except_self (line 180) | def except_self(self, chats_or_dicts): method chats (line 192) | def chats(self, update=False): method _retrieve_itchat_storage (line 202) | def _retrieve_itchat_storage(self, attr): method friends (line 207) | def friends(self, update=False): method groups (line 223) | def groups(self, update=False, contact_only=False): method mps (line 246) | def mps(self, update=False): method user_details (line 262) | def user_details(self, user_or_users, chunk_size=50): method search (line 292) | def search(self, keywords=None, **attributes): method add_friend (line 312) | def add_friend(self, user, verify_content=''): method add_mp (line 331) | def add_mp(self, user): method accept_friend (line 348) | def accept_friend(self, user, verify_content=''): method create_group (line 375) | def create_group(self, users, topic=None): method upload_file (line 407) | def upload_file(self, path): method _process_message (line 435) | def _process_message(self, msg): method register (line 471) | def register( method _listen (line 495) | def _listen(self): method start (line 520) | def start(self): method stop (line 532) | def stop(self): method join (line 543) | def join(self): method _cleanup (line 555) | def _cleanup(self): FILE: wxpy/api/chats/chat.py function wrapped_send (line 18) | def wrapped_send(msg_type): class Chat (line 82) | class Chat(object): method __init__ (line 87) | def __init__(self, raw, bot): method puid (line 93) | def puid(self): method nick_name (line 116) | def nick_name(self): method name (line 128) | def name(self): method send (line 139) | def send(self, content=None, media_id=None): method send_msg (line 166) | def send_msg(self, msg=None): method send_image (line 184) | def send_image(self, path, media_id=None): method send_file (line 196) | def send_file(self, path, media_id=None): method send_video (line 208) | def send_video(self, path=None, media_id=None): method send_raw_msg (line 220) | def send_raw_msg(self, raw_type, raw_content, uri=None, msg_ext=None): method mark_as_read (line 270) | def mark_as_read(self): method pin (line 294) | def pin(self): method unpin (line 302) | def unpin(self): method get_avatar (line 310) | def get_avatar(self, save_path=None): method uin (line 337) | def uin(self): method alias (line 347) | def alias(self): method wxid (line 357) | def wxid(self): method user_name (line 368) | def user_name(self): method __repr__ (line 379) | def __repr__(self): method __unicode__ (line 382) | def __unicode__(self): method __eq__ (line 385) | def __eq__(self, other): method __cmp__ (line 388) | def __cmp__(self, other): method __hash__ (line 393) | def __hash__(self): FILE: wxpy/api/chats/chats.py class Chats (line 14) | class Chats(list): method __init__ (line 19) | def __init__(self, chat_list=None, source=None): method __add__ (line 24) | def __add__(self, other): method search (line 27) | def search(self, keywords=None, **attributes): method stats (line 52) | def stats(self, attribs=('sex', 'province', 'city')): method stats_text (line 70) | def stats_text(self, total=True, sex=True, top_provinces=10, top_citie... method add_all (line 138) | def add_all(self, interval=3, verify_content=''): FILE: wxpy/api/chats/friend.py class Friend (line 11) | class Friend(User): FILE: wxpy/api/chats/group.py class Group (line 14) | class Group(Chat): method __init__ (line 19) | def __init__(self, raw, bot): method members (line 23) | def members(self): method __contains__ (line 40) | def __contains__(self, user): method __iter__ (line 46) | def __iter__(self): method __len__ (line 50) | def __len__(self): method search (line 53) | def search(self, keywords=None, **attributes): method owner (line 70) | def owner(self): method is_owner (line 83) | def is_owner(self): method self (line 90) | def self(self): method update_group (line 99) | def update_group(self, members_details=False): method add_members (line 115) | def add_members(self, users, use_invitation=False): method remove_members (line 132) | def remove_members(self, members): method rename_group (line 146) | def rename_group(self, name): FILE: wxpy/api/chats/groups.py class Groups (line 8) | class Groups(list): method __init__ (line 21) | def __init__(self, group_list=None): method search (line 43) | def search(self, keywords=None, users=None, **attributes): FILE: wxpy/api/chats/member.py class Member (line 10) | class Member(User): method __init__ (line 15) | def __init__(self, raw, group): method group (line 20) | def group(self): method display_name (line 27) | def display_name(self): method remove (line 33) | def remove(self): method name (line 40) | def name(self): FILE: wxpy/api/chats/mp.py class MP (line 6) | class MP(User): FILE: wxpy/api/chats/user.py class User (line 12) | class User(Chat): method __init__ (line 17) | def __init__(self, raw, bot): method remark_name (line 21) | def remark_name(self): method set_remark_name (line 28) | def set_remark_name(self, remark_name): method sex (line 40) | def sex(self): method province (line 54) | def province(self): method city (line 61) | def city(self): method signature (line 68) | def signature(self): method is_friend (line 75) | def is_friend(self): method add (line 89) | def add(self, verify_content=''): method accept (line 97) | def accept(self, verify_content=''): FILE: wxpy/api/messages/article.py class Article (line 7) | class Article(object): method __init__ (line 8) | def __init__(self): method __repr__ (line 23) | def __repr__(self): method __unicode__ (line 26) | def __unicode__(self): method __hash__ (line 29) | def __hash__(self): method __eq__ (line 32) | def __eq__(self, other): method __cmp__ (line 35) | def __cmp__(self, other): FILE: wxpy/api/messages/message.py class Message (line 30) | class Message(object): method __init__ (line 41) | def __init__(self, raw, bot): method __hash__ (line 51) | def __hash__(self): method __repr__ (line 55) | def __repr__(self): method __unicode__ (line 58) | def __unicode__(self): method type (line 64) | def type(self): method id (line 96) | def id(self): method text (line 104) | def text(self): method get_file (line 125) | def get_file(self, save_path=None): method file_name (line 141) | def file_name(self): method file_size (line 148) | def file_size(self): method media_id (line 155) | def media_id(self): method is_at (line 164) | def is_at(self): method img_height (line 173) | def img_height(self): method img_width (line 180) | def img_width(self): method play_length (line 187) | def play_length(self): method voice_length (line 194) | def voice_length(self): method url (line 201) | def url(self): method articles (line 212) | def articles(self): method card (line 248) | def card(self): method create_time (line 259) | def create_time(self): method receive_time (line 270) | def receive_time(self): method latency (line 277) | def latency(self): method location (line 286) | def location(self): method chat (line 306) | def chat(self): method sender (line 322) | def sender(self): method receiver (line 332) | def receiver(self): method member (line 342) | def member(self): method _get_chat_by_user_name (line 363) | def _get_chat_by_user_name(self, user_name): method forward (line 390) | def forward(self, chat, prefix=None, suffix=None, raise_for_unsupporte... FILE: wxpy/api/messages/message_config.py class MessageConfig (line 13) | class MessageConfig(object): method __init__ (line 18) | def __init__( method enabled (line 35) | def enabled(self): method enabled (line 42) | def enabled(self, boolean): method __repr__ (line 50) | def __repr__(self): method __unicode__ (line 59) | def __unicode__(self): FILE: wxpy/api/messages/messages.py class Messages (line 8) | class Messages(list): method __init__ (line 13) | def __init__(self, msg_list=None, max_history=200): method append (line 19) | def append(self, msg): method search (line 28) | def search(self, keywords=None, **attributes): FILE: wxpy/api/messages/registered.py class Registered (line 9) | class Registered(list): method __init__ (line 10) | def __init__(self, bot): method get_config (line 19) | def get_config(self, msg): method get_config_by_func (line 44) | def get_config_by_func(self, func): method _change_status (line 56) | def _change_status(self, func, enabled): method enable (line 63) | def enable(self, func=None): method disable (line 71) | def disable(self, func=None): method _check_status (line 79) | def _check_status(self, enabled): method enabled (line 87) | def enabled(self): method disabled (line 96) | def disabled(self): FILE: wxpy/api/messages/sent_message.py class SentMessage (line 12) | class SentMessage(object): method __init__ (line 19) | def __init__(self, attributes): method __hash__ (line 56) | def __hash__(self): method __repr__ (line 60) | def __repr__(self): method __unicode__ (line 63) | def __unicode__(self): method latency (line 67) | def latency(self): method chat (line 75) | def chat(self): method member (line 82) | def member(self): method bot (line 92) | def bot(self): method sender (line 99) | def sender(self): method recall (line 105) | def recall(self): FILE: wxpy/compatible/utils.py class TemporaryDirectory (line 14) | class TemporaryDirectory(object): method __init__ (line 26) | def __init__(self, suffix="", prefix="tmp", dir=None): method __repr__ (line 31) | def __repr__(self): method __enter__ (line 34) | def __enter__(self): method cleanup (line 37) | def cleanup(self, _warn=False): method __exit__ (line 54) | def __exit__(self, exc, value, tb): method __del__ (line 57) | def __del__(self): method _rmtree (line 73) | def _rmtree(self, path): function force_encoded_string_output (line 95) | def force_encoded_string_output(func): FILE: wxpy/exceptions.py class ResponseError (line 5) | class ResponseError(Exception): method __init__ (line 10) | def __init__(self, err_code, err_msg): FILE: wxpy/ext/logging_with_wechat.py class WeChatLoggingHandler (line 11) | class WeChatLoggingHandler(logging.Handler): method __init__ (line 12) | def __init__(self, receiver=None): method emit (line 25) | def emit(self, record): function get_wechat_logger (line 38) | def get_wechat_logger(receiver=None, name=None, level=logging.WARNING): FILE: wxpy/ext/sync_message_in_groups.py function assign_emoji (line 26) | def assign_emoji(chat): function forward_prefix (line 31) | def forward_prefix(user): function sync_message_in_groups (line 37) | def sync_message_in_groups( FILE: wxpy/ext/talk_bot_utils.py function get_context_user_id (line 7) | def get_context_user_id(msg, max_len=32, re_sub=r'[^a-zA-Z\d]'): function next_topic (line 35) | def next_topic(): FILE: wxpy/ext/tuling.py class Tuling (line 16) | class Tuling(object): method __init__ (line 27) | def __init__(self, api_key=None): method is_last_member (line 42) | def is_last_member(self, msg): method do_reply (line 48) | def do_reply(self, msg, at_member=True): method reply_text (line 61) | def reply_text(self, msg, at_member=True): FILE: wxpy/ext/xiaoi.py class XiaoI (line 20) | class XiaoI(object): method __init__ (line 26) | def __init__(self, key, secret): method _make_signature (line 56) | def _make_signature(self): method _make_http_header_xauth (line 79) | def _make_http_header_xauth(self): method do_reply (line 93) | def do_reply(self, msg): method reply_text (line 105) | def reply_text(self, msg): FILE: wxpy/utils/base_request.py class BaseRequest (line 13) | class BaseRequest(object): method __init__ (line 14) | def __init__(self, bot, uri, params=None): method request (line 41) | def request(self, method, to_class=None): FILE: wxpy/utils/console.py function _ipython (line 9) | def _ipython(local, banner): function _bpython (line 22) | def _bpython(local, banner): function _python (line 29) | def _python(local, banner): function embed (line 46) | def embed(local=None, banner='', shell=None): function get_arg_parser (line 83) | def get_arg_parser(): function shell_entry (line 118) | def shell_entry(): FILE: wxpy/utils/misc.py function decode_text_from_webwx (line 22) | def decode_text_from_webwx(text): function check_response_body (line 36) | def check_response_body(response_body): function handle_response (line 56) | def handle_response(to_class=None): function ensure_list (line 108) | def ensure_list(x, except_false=True): function prepare_keywords (line 123) | def prepare_keywords(keywords): function match_text (line 136) | def match_text(text, keywords): function match_attributes (line 158) | def match_attributes(obj, **attributes): function match_name (line 175) | def match_name(chat, keywords): function smart_map (line 194) | def smart_map(func, i, *args, **kwargs): function wrap_user_name (line 210) | def wrap_user_name(user_or_users): function get_user_name (line 237) | def get_user_name(user_or_users): function get_receiver (line 264) | def get_receiver(receiver=None): function enhance_connection (line 289) | def enhance_connection(session, pool_connections=30, pool_maxsize=30, ma... function enhance_webwx_request (line 310) | def enhance_webwx_request(bot, sync_check_timeout=(10, 30), webwx_sync_t... function repr_message (line 356) | def repr_message(msg): function get_text_without_at_bot (line 378) | def get_text_without_at_bot(msg): function start_new_thread (line 398) | def start_new_thread(target, args=(), kwargs=None, daemon=True, use_call... FILE: wxpy/utils/puid_map.py class PuidMap (line 43) | class PuidMap(object): method __init__ (line 44) | def __init__(self, path): method attr_dicts (line 66) | def attr_dicts(self): method __len__ (line 69) | def __len__(self): method __bool__ (line 72) | def __bool__(self): method __nonzero__ (line 75) | def __nonzero__(self): method get_puid (line 78) | def get_puid(self, chat): method dump (line 131) | def dump(self): method load (line 138) | def load(self): class TwoWayDict (line 146) | class TwoWayDict(UserDict): method __init__ (line 152) | def __init__(self): method get_key (line 159) | def get_key(self, value): method del_value (line 165) | def del_value(self, value): method __setitem__ (line 171) | def __setitem__(self, key, value): method __delitem__ (line 183) | def __delitem__(self, key): method update (line 190) | def update(*args, **kwargs): function get_caption (line 194) | def get_caption(chat): function match_captions (line 203) | def match_captions(old, new): function merge_captions (line 211) | def merge_captions(old, new): FILE: wxpy/utils/tools.py function dont_raise_response_error (line 13) | def dont_raise_response_error(func): function ensure_one (line 28) | def ensure_one(found): function mutual_friends (line 47) | def mutual_friends(*args): function detect_freq_limit (line 84) | def detect_freq_limit(func, *args, **kwargs):