SYMBOL INDEX (139 symbols across 23 files) FILE: manage.py function send (line 18) | def send(text): FILE: slack_bot/app.py function create_app (line 22) | def create_app(config=None): function callback (line 43) | def callback(kwargs): function _filter (line 78) | def _filter(line): FILE: slack_bot/plugins/airpollution.py function test (line 48) | def test(data): function get_desc (line 56) | def get_desc(cityname, cityshort): function handle (line 86) | def handle(data): FILE: slack_bot/plugins/baidumap.py function address2geo (line 39) | def address2geo(ak, address, city=u'北京'): function geo2address (line 52) | def geo2address(ak, location): function place_suggestion (line 61) | def place_suggestion(ak, pos): function place_direction (line 67) | def place_direction(ak, origin, destination, mode='transit', tactics=11, function point (line 144) | def point(ak, keyword, city=u'北京'): function travel_attractions (line 152) | def travel_attractions(ak, id): function travel_city (line 168) | def travel_city(ak, location=u'北京', day='all'): function local (line 175) | def local(ak, tag, keyword, location=u'北京', radius=3000, city=u'北京'): function weather (line 183) | def weather(ak, location=u'北京'): function test (line 190) | def test(data): function handle (line 197) | def handle(data): FILE: slack_bot/plugins/bj_bus.py class Cipher (line 26) | class Cipher(object): method __init__ (line 29) | def __init__(self, key): method new_from_key (line 33) | def new_from_key(key): method _make_translate_table (line 36) | def _make_translate_table(self): method translate (line 47) | def translate(self, raw): method decrypt (line 61) | def decrypt(self, cipher_text): method encrypt (line 64) | def encrypt(self, plain_text): function decrypt_busline_etree (line 68) | def decrypt_busline_etree(et): function decrypt_bus_realtime_info (line 91) | def decrypt_bus_realtime_info(bus): function etree_xpath_children_to_dict_list (line 102) | def etree_xpath_children_to_dict_list(et, path): function xpath_etree_children_to_dict_list (line 106) | def xpath_etree_children_to_dict_list(path, et): class BeijingBusApi (line 122) | class BeijingBusApi(object): method __init__ (line 125) | def __init__(self): method check_update (line 144) | def check_update(self): method api_open (line 155) | def api_open(self, path, url_base=u'http://mc.aibang.com'): method query_busline_id_by_name (line 159) | def query_busline_id_by_name(self, name): method get_update_flags (line 170) | def get_update_flags(self): method get_busline_info (line 180) | def get_busline_info(self, id): method get_busline_realtime_info (line 194) | def get_busline_realtime_info(self, id, no): function check_update (line 210) | def check_update(b): function _get_busline_info_by_name (line 215) | def _get_busline_info_by_name(busline): function get_site_id_by_name (line 223) | def get_site_id_by_name(busline, name): function get_busline_info (line 230) | def get_busline_info(busline): function get_busline_realtime_info (line 239) | def get_busline_realtime_info(busline, site): function test_query_busline (line 259) | def test_query_busline(message): function test_query_realtime (line 263) | def test_query_realtime(message): function test (line 267) | def test(data): function handle (line 274) | def handle(data, **kwargs): FILE: slack_bot/plugins/dianping.py function real_name (line 24) | def real_name(name): function concat_params (line 31) | def concat_params(appkey, secret, params): class DianpingApi (line 47) | class DianpingApi(object): method __init__ (line 48) | def __init__(self, appkey, secret): method bind_api (line 51) | def bind_api(self, path, subpath, params): method get_business_info (line 57) | def get_business_info(self, business, details=False): method find_businesses (line 82) | def find_businesses(self, latitude, longitude, city='上海', method get_single_business (line 88) | def get_single_business(self, business_id, out_offset_type=1, platform... method get_all_id_list (line 92) | def get_all_id_list(self, city='北京'): method get_batch_businesses_by_id (line 96) | def get_batch_businesses_by_id(self, business_ids, out_offset_type=1): method find_businesses_with_reservations (line 102) | def find_businesses_with_reservations(self, reservation_date, function test (line 109) | def test(data): function handle (line 114) | def handle(data): FILE: slack_bot/plugins/earthquake.py function test (line 37) | def test(data): function jw (line 41) | def jw(a, b): function handle (line 59) | def handle(data): FILE: slack_bot/plugins/events.py function check_filter (line 103) | def check_filter(title): function get_df_events (line 110) | def get_df_events(city): function get_hdx_events (line 127) | def get_hdx_events(city, res=[], page=1): function get_ck_events (line 152) | def get_ck_events(city): function get_csdn_events (line 166) | def get_csdn_events(city, res=[], page=1): function check_similar (line 191) | def check_similar(seg_, seg_lists): function get_events (line 201) | def get_events(city): function test (line 224) | def test(data): function handle (line 228) | def handle(data): FILE: slack_bot/plugins/github_issue.py function test (line 15) | def test(data): function handle (line 19) | def handle(data): FILE: slack_bot/plugins/help.py function format_desc (line 10) | def format_desc(plugin, prefix=' '): function test (line 20) | def test(data): function handle (line 24) | def handle(data): FILE: slack_bot/plugins/movie.py function get_later_movie_info (line 22) | def get_later_movie_info(city, app): function get_current_movie_info (line 39) | def get_current_movie_info(city, app): function test (line 60) | def test(data): function handle (line 65) | def handle(data): FILE: slack_bot/plugins/orz.py function test (line 37) | def test(data): function handle (line 45) | def handle(data): FILE: slack_bot/plugins/pycoders.py class MyHTMLParser (line 29) | class MyHTMLParser(HTMLParser): method handle_starttag (line 30) | def handle_starttag(self, tag, attrs): method handle_data (line 36) | def handle_data(self, data): function get_all_issues (line 40) | def get_all_issues(): function prase_tag (line 58) | def prase_tag(tag): function parse_issue_page (line 92) | def parse_issue_page(url): function get_issue (line 101) | def get_issue(num=None): function list_issues (line 112) | def list_issues(): function test (line 119) | def test(data): function handle (line 123) | def handle(data): FILE: slack_bot/plugins/pythonweekly.py function get_all_issues (line 25) | def get_all_issues(): function parse_issue_page (line 34) | def parse_issue_page(url): function list_lastest_issues (line 70) | def list_lastest_issues(): function get_issue_pw (line 77) | def get_issue_pw(num=None): function test (line 88) | def test(data): function handle (line 92) | def handle(data): FILE: slack_bot/plugins/qiubai.py function test (line 43) | def test(data): function handle (line 47) | def handle(data): FILE: slack_bot/plugins/simsimi.py class SimSimi (line 66) | class SimSimi: method __init__ (line 68) | def __init__(self): method initSimSimiCookie (line 82) | def initSimSimiCookie(self): method getSimSimiResult (line 109) | def getSimSimiResult(self, message, method='normal'): method chat (line 118) | def chat(self, message=''): function test (line 133) | def test(data): function handle (line 137) | def handle(data): FILE: slack_bot/plugins/toutiao.py function get_content (line 29) | def get_content(channel): function test (line 46) | def test(data): function handle (line 50) | def handle(data): FILE: slack_bot/plugins/travel.py function get_desc (line 23) | def get_desc(regex, message): function get_itinerary (line 29) | def get_itinerary(res, details=False): function test (line 47) | def test(data): function handle (line 53) | def handle(data): FILE: slack_bot/plugins/utils.py function check_cache (line 20) | def check_cache(cache, fn, *args, **kwargs): function timestamp2str (line 26) | def timestamp2str(timestamp, fmt='%H:%M:%S', timezone='Asia/Shanghai'): function datetime2timestamp (line 32) | def datetime2timestamp(dt=None, timezone='Asia/Shanghai'): function check_time (line 40) | def check_time(dt=None, timezone='Asia/Shanghai'): function to_pinyin (line 48) | def to_pinyin(word): function chinese2digit (line 54) | def chinese2digit(ch): function upload_image (line 62) | def upload_image(canvas_or_url, image_type, app=None, filename=None, function check_canvas (line 99) | def check_canvas(image_url, image_type): function convert2unicode (line 107) | def convert2unicode(s): function convert2str (line 113) | def convert2str(s): function gen_attachment (line 119) | def gen_attachment(text, image_url='', image_type='url', title='', function trunc_utf8 (line 135) | def trunc_utf8(s, length=50): function replaced (line 142) | def replaced(message, rep_words): FILE: slack_bot/plugins/v2ex.py function get_updated_interval (line 29) | def get_updated_interval(node_name, feeds, default=ONE_DAY): function fetch2cache (line 48) | def fetch2cache(node_name): function fetch (line 76) | def fetch(force=False): function test (line 97) | def test(data): function handle (line 101) | def handle(data): FILE: slack_bot/plugins/weather.py function get_city (line 24) | def get_city(data): function test (line 32) | def test(data): function handle (line 36) | def handle(data): FILE: slack_bot/plugins/wikipedia.py function test (line 40) | def test(data): function handle (line 44) | def handle(data): function wikipedia (line 51) | def wikipedia(title): FILE: slack_bot/utils.py function timeout (line 8) | def timeout(seconds, default="timeout"):