Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PKUJohnson/OpenData
/ functions
Functions
533 in github.com/PKUJohnson/OpenData
⨍
Functions
533
◇
Types & classes
47
↓ 128 callers
Method
do_request
(self, url, param = None, method="GET", type="text", encoding = None, json = None, **kwargs)
opendatatools/common/rest_agent.py:29
↓ 25 callers
Method
set_proxies
(self, proxies)
opendatatools/common/rest_agent.py:26
↓ 20 callers
Method
_get_qg_indicator
(self, cn, category, dbcode = 'hgyd')
opendatatools/economy/nbs_agent.py:435
↓ 17 callers
Method
add_headers
(self, dict)
opendatatools/common/rest_agent.py:20
↓ 10 callers
Method
clear_text
(text)
opendatatools/stock/stock_agent.py:455
↓ 8 callers
Function
date_convert
(date, format, target_format)
opendatatools/common/date_util.py:12
↓ 8 callers
Method
get_index_list
(self)
opendatatools/stock/stock_agent.py:237
↓ 7 callers
Method
_fetch
(self, url)
opendatatools/coin/coin_agent.py:49
↓ 7 callers
Method
clear_text
(text)
opendatatools/movie/movie_agent.py:13
↓ 7 callers
Method
get_cookies
(self)
opendatatools/common/rest_agent.py:23
↓ 6 callers
Method
__init__
(self)
opendatatools/stock/stock_agent.py:234
↓ 6 callers
Method
_split_field
(self, text, splitter = "|")
opendatatools/futures/futures_agent.py:221
↓ 6 callers
Method
clear_text
(text)
opendatatools/hsgt/hkex_agent.py:13
↓ 6 callers
Method
get_lgt_share
(self, market='SH', date = None)
opendatatools/hsgt/hkex_agent.py:28
↓ 6 callers
Method
get_sub_items
(self, itemid)
opendatatools/datayes/robo_agent.py:75
↓ 6 callers
Method
get_trade_rank
(self, date)
opendatatools/futures/futures_agent.py:58
↓ 5 callers
Function
_concat_df
(df_list)
opendatatools/futures/futures_agent.py:39
↓ 5 callers
Method
_get_data
(self, url)
opendatatools/gaokao/gaokao_agent.py:11
↓ 5 callers
Method
_get_df_indicator
(self, region, cn, category, dbcode = 'fsyd')
opendatatools/economy/nbs_agent.py:478
↓ 5 callers
Method
format_unix_time
(self, df, col='time')
opendatatools/coin/coin_agent.py:43
↓ 5 callers
Function
get_current_day
(format = "%Y-%m-%d")
opendatatools/common/date_util.py:8
↓ 5 callers
Method
get_index_component
(self, index)
opendatatools/stock/stock_agent.py:261
↓ 5 callers
Function
get_target_date
(span, format="%Y-%m-%d")
opendatatools/common/date_util.py:60
↓ 5 callers
Method
login
(self, username, password)
opendatatools/datayes/robo_agent.py:40
↓ 4 callers
Method
__init__
(self)
opendatatools/futures/futures_agent.py:54
↓ 4 callers
Method
_get_champion_team
(self)
opendatatools/worldcup/wcup_agent.py:52
↓ 4 callers
Method
_get_winner
(self, row)
opendatatools/worldcup/wcup_agent.py:24
↓ 4 callers
Method
clear_text
(text)
opendatatools/spot/spot_agent.py:79
↓ 4 callers
Method
convert_to_xq_symbol
(self, symbol)
opendatatools/stock/stock_agent.py:276
↓ 4 callers
Method
get_city_list
(self)
opendatatools/realestate/anjuke_agent.py:58
↓ 4 callers
Method
get_rzrq_info
(self, date)
opendatatools/stock/stock_agent.py:82
↓ 3 callers
Function
ReqRandom
()
opendatatools/wechat/wechat_agent.py:34
↓ 3 callers
Method
_decrypt_data
(self, str, func, key)
opendatatools/hedgefund/simu_agent.py:205
↓ 3 callers
Method
_extract_content
(self, response, key='content')
opendatatools/datayes/robo_agent.py:32
↓ 3 callers
Method
_extract_result
(self, response)
opendatatools/datayes/robo_agent.py:20
↓ 3 callers
Method
_get_and_parse_js
(self, url, prefix, param=None)
opendatatools/fund/fund_agent.py:28
↓ 3 callers
Method
_get_data
(self, symbol, events)
opendatatools/usstock/usstock_agent.py:43
↓ 3 callers
Method
_get_symbols
(self, market)
opendatatools/usstock/usstock_agent.py:28
↓ 3 callers
Method
extract_word
(text, start_tag, end_tag)
opendatatools/realestate/anjuke_agent.py:53
↓ 3 callers
Method
get_batch_score
(self, province, subject)
opendatatools/gaokao/gaokao_agent.py:36
↓ 3 callers
Method
get_daily_aqi
(self, date)
opendatatools/aqi/aqi_agent.py:18
↓ 3 callers
Method
get_daily_aqi_onecity
(self, city)
opendatatools/aqi/aqi_agent.py:125
↓ 3 callers
Method
get_district_by_city
(self, city)
opendatatools/realestate/lianjia_agent.py:46
↓ 3 callers
Method
get_exchange_list
(self)
opendatatools/coin/coin_agent.py:98
↓ 3 callers
Method
get_hist_cny_cpr
(self, start_date, end_date)
opendatatools/fx/chinamoney_agent.py:12
↓ 3 callers
Method
get_hour_aqi
(self, time)
opendatatools/aqi/aqi_agent.py:71
↓ 3 callers
Method
get_hour_aqi_onecity
(self, city, date)
opendatatools/aqi/aqi_agent.py:219
↓ 3 callers
Method
get_index_daily
(self, index_code, start_date, end_date)
opendatatools/swindex/swindex_agent.py:82
↓ 3 callers
Method
get_index_data
(self, symbol, interval, period)
opendatatools/index/index_agent.py:145
↓ 3 callers
Method
get_pledge_info
(self, date)
opendatatools/stock/stock_agent.py:96
↓ 3 callers
Method
get_retcode
(self, rsp)
opendatatools/wechat/wechat_agent.py:94
↓ 3 callers
Method
prepare_cookies
(self, url)
opendatatools/stock/stock_agent.py:292
↓ 3 callers
Method
prepare_cookies
(self, url)
opendatatools/economy/nbs_agent.py:417
↓ 3 callers
Function
split_date
(datestr, format = "%Y-%m-%d")
opendatatools/common/date_util.py:66
↓ 2 callers
Method
_get_code
(self, text)
opendatatools/futures/futures_agent.py:185
↓ 2 callers
Method
_get_data
(self, lines, old)
opendatatools/futures/futures_agent.py:209
↓ 2 callers
Method
_get_erf_list_url
(self, url)
opendatatools/realestate/lianjia_agent.py:123
↓ 2 callers
Method
_get_fund_list_page
(self, page_no)
opendatatools/hedgefund/simu_agent.py:69
↓ 2 callers
Method
_get_fund_nav_page
(self, fund_id, page_no)
opendatatools/hedgefund/simu_agent.py:156
↓ 2 callers
Method
_get_realtime_money_flow
(self, url)
opendatatools/stock/stock_agent.py:745
↓ 2 callers
Method
_is_cfe_code
(self, code)
opendatatools/futures/futures_agent.py:376
↓ 2 callers
Function
_merge_df
(df_list)
opendatatools/futures/futures_agent.py:30
↓ 2 callers
Method
_parse_hist_money_flow
(self, response)
opendatatools/stock/stock_agent.py:698
↓ 2 callers
Function
_rename_df
(df)
opendatatools/futures/futures_agent.py:42
↓ 2 callers
Function
_split_qry_range
(start_date, end_date)
opendatatools/fx/fx_interface.py:18
↓ 2 callers
Function
aes_encrypt
AES加密 key,iv使用同一个 模式cbc 填充pkcs7 :param key: 密钥 :param content: 加密内容 :return:
opendatatools/aqi2/util.py:35
↓ 2 callers
Method
close
(self)
opendatatools/common/ui_util.py:37
↓ 2 callers
Function
decrypt_response
AES解密 key,iv使用同一个 模式cbc 去填充pkcs7 :param key: :param content: :return:
opendatatools/aqi2/util.py:75
↓ 2 callers
Function
fill_df
(df, period, trade_date, symbol)
opendatatools/stock/stock_interface.py:114
↓ 2 callers
Function
format_date_param
(start_date, end_date)
opendatatools/fx/fx_interface.py:9
↓ 2 callers
Method
get_api_map
(self, type, timepoint)
opendatatools/aqi2/aqi2_agent.py:73
↓ 2 callers
Method
get_article_list
(self, fakeid, begin)
opendatatools/wechat/wechat_agent.py:109
↓ 2 callers
Method
get_city_list
(self)
opendatatools/aqi2/aqi2_agent.py:117
↓ 2 callers
Method
get_commodity_spot_indicator
(self)
opendatatools/spot/spot_agent.py:114
↓ 2 callers
Method
get_commodity_spot_indicator_data
(self, indicator_id)
opendatatools/spot/spot_agent.py:120
↓ 2 callers
Method
get_company_list
(self)
opendatatools/amac/amac_agent.py:200
↓ 2 callers
Method
get_daily_hour_aqi
(self, city, date)
opendatatools/aqi2/aqi2_agent.py:18
↓ 2 callers
Method
get_detail
(self, url)
opendatatools/amac/amac_agent.py:138
↓ 2 callers
Method
get_dividend
(self, code)
opendatatools/stock/stock_agent.py:66
↓ 2 callers
Method
get_fund_company
(self)
opendatatools/fund/fund_agent.py:35
↓ 2 callers
Method
get_fund_detail
(self, fund_id)
opendatatools/amac/amac_agent.py:234
↓ 2 callers
Method
get_fund_list
(self)
opendatatools/amac/amac_agent.py:220
↓ 2 callers
Method
get_fund_nav
(self, fund_id, time_elapse = 0)
opendatatools/hedgefund/simu_agent.py:230
↓ 2 callers
Method
get_fundlist_by_company
(self, companyid)
opendatatools/fund/fund_agent.py:67
↓ 2 callers
Method
get_head
(self, text, old)
opendatatools/futures/futures_agent.py:203
↓ 2 callers
Method
get_his_shibor
(self, start_date, end_date)
opendatatools/fx/chinamoney_agent.py:64
↓ 2 callers
Method
get_hist_daily_aqi
(self, city, begindate, enddate)
opendatatools/aqi2/aqi2_agent.py:23
↓ 2 callers
Method
get_house_price_index
(self, city)
opendatatools/economy/nbs_agent.py:602
↓ 2 callers
Method
get_index_cons
(self, index_code)
opendatatools/swindex/swindex_agent.py:52
↓ 2 callers
Method
get_index_snapshot
(self)
opendatatools/nhindex/nhindex_agent.py:380
↓ 2 callers
Method
get_index_weight
(self)
opendatatools/nhindex/nhindex_agent.py:397
↓ 2 callers
Method
get_kline
(self, symbol, timestamp, period, count)
opendatatools/stock/stock_agent.py:336
↓ 2 callers
Method
get_page
爬取第xx页信息
opendatatools/amac/amac_agent.py:90
↓ 2 callers
Method
get_realtime_money_flow
(self, symbol)
opendatatools/stock/stock_agent.py:770
↓ 2 callers
Method
get_recent_boxoffice
(self, day)
opendatatools/movie/movie_agent.py:54
↓ 2 callers
Method
get_recent_daily_aqi_onecity
(self, city)
opendatatools/aqi/aqi_agent.py:178
↓ 2 callers
Method
get_rent
(self, city, page_no)
opendatatools/realestate/anjuke_agent.py:93
↓ 2 callers
Method
get_score
(self, school, province, subject, recruitbatch)
opendatatools/misc/gaokao_agent.py:76
↓ 2 callers
Method
get_series
(self, seriesid)
opendatatools/datayes/robo_agent.py:93
↓ 2 callers
Method
get_server_data
(self, city, type, startTime, endTime)
opendatatools/aqi2/aqi2_agent.py:28
next →
1–100 of 533, ranked by callers