mns-common 1.2.2.7__py3-none-any.whl → 1.2.2.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -79,6 +79,8 @@ def get_concept_detail_by_wen_cai(concept_name):
79
79
  concept_name = concept_name.replace(")", ")")
80
80
  concept_name = concept_name.replace(" ", "")
81
81
  concept_all_detail_df = wen_cai_api("所属同花顺概念包含" + concept_name, 'stock')
82
+ if data_frame_util.is_empty(concept_all_detail_df):
83
+ return None
82
84
  if len(concept_all_detail_df.columns) == 9:
83
85
  concept_all_detail_df.columns = ["code",
84
86
  "name",
@@ -112,7 +114,7 @@ def get_concept_detail_by_wen_cai(concept_name):
112
114
 
113
115
 
114
116
  if __name__ == '__main__':
115
- concept_detail_df = get_concept_detail_by_wen_cai("AI PC")
117
+ concept_detail_df = get_concept_detail_by_wen_cai("光纤概念")
116
118
  concept_df = get_concept_index_by_wen_cai()
117
119
  print(concept_df)
118
120
  industry_index = get_industry_index_by_wen_cai()
@@ -29,6 +29,10 @@ THS_CONCEPT_LIST = "ths_concept_list"
29
29
 
30
30
  # 同花顺概念详情表
31
31
  THS_STOCK_CONCEPT_DETAIL = "ths_stock_concept_detail"
32
+
33
+ # 同花顺概念详情表 app端
34
+ THS_STOCK_CONCEPT_DETAIL_APP = "ths_stock_concept_detail_app"
35
+
32
36
  # 今日排除买入股票
33
37
  TODAY_EXCLUDE_STOCK = "today_exclude_stocks"
34
38
  # 今日买入股票
@@ -1,4 +1,4 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mns_common
3
- Version: 1.2.2.7
3
+ Version: 1.2.2.9
4
4
 
@@ -47,7 +47,7 @@ mns_common/api/ths/concept/web/ths_concept_index_web.py,sha256=zULAWpnmpnwc2MOZt
47
47
  mns_common/api/ths/self_choose/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
48
48
  mns_common/api/ths/self_choose/ths_self_choose_api.py,sha256=TkV4r8iRkgcm4OaclUTTJ19TNNiO0z_DbIFkc-G_wFc,6012
49
49
  mns_common/api/ths/wen_cai/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
50
- mns_common/api/ths/wen_cai/ths_wen_cai_api.py,sha256=AgeprKaNTzO2-viETopsMRhKaCsCKaCUCpinMTq7Yco,4625
50
+ mns_common/api/ths/wen_cai/ths_wen_cai_api.py,sha256=TiDbKIB57ARrnGb70vSJ7-c7lodQqivwlC2IWs95xFw,4718
51
51
  mns_common/api/ths/zt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
52
  mns_common/api/ths/zt/ths_stock_zt_pool_api.py,sha256=d-MYuz8_e_YmIdtOBDpgrDRSsTfvARxTD_ho4CJs3b4,12256
53
53
  mns_common/component/__init__.py,sha256=8b2PuXJM5fLoq71cWPXp695czQuaRtyR6OVHajGjDPc,161
@@ -94,7 +94,7 @@ mns_common/component/zt/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3Hi
94
94
  mns_common/component/zt/zt_common_service_api.py,sha256=qIaE9SXSap8Vi4Zian47tDJPHMWkY3osA8rrBDDhsLo,11943
95
95
  mns_common/constant/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
96
96
  mns_common/constant/black_list_classify_enum.py,sha256=I8U_DcltzYvlWjgn-TFLImgVgPuO0lxMnEJAQJBljdo,3995
97
- mns_common/constant/db_name_constant.py,sha256=vRLnuotva8QBiN45K3a800Ldb8D_cYaG1J-wD3EU3n8,2892
97
+ mns_common/constant/db_name_constant.py,sha256=nCYyvRvKYdlDij4575GfcRicUYPZAU07J3LGHyVjVwM,2994
98
98
  mns_common/constant/price_enum.py,sha256=nhcPxk0AFdQAp8IsNr5EP9xURLqqJuSl6ljIzTp7Wyo,1093
99
99
  mns_common/constant/redis_msg_constant.py,sha256=L3b_GEqotbuuPgbQIFR3aK6Ctxcnk9GiUZMiyHKVUnU,240
100
100
  mns_common/constant/self_choose_constant.py,sha256=rHaVnFy3T2uF9T9y6utucyz1rpbbe0Zjb1f8ZAChXl0,492
@@ -109,7 +109,7 @@ mns_common/utils/date_handle_util.py,sha256=qkEyKLYiVq6qpKVp32MLKwRtGKVBK6AY5at2
109
109
  mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
110
110
  mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
111
111
  mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
112
- mns_common-1.2.2.7.dist-info/METADATA,sha256=kbf1G6xvIVXrNMvMV5ptvWlDAC0agdmQxAdDTlz_aFA,61
113
- mns_common-1.2.2.7.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
114
- mns_common-1.2.2.7.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
115
- mns_common-1.2.2.7.dist-info/RECORD,,
112
+ mns_common-1.2.2.9.dist-info/METADATA,sha256=IjT8YHo8WH2PYIs3yJzbv2re8xVe2RvRqboFd6FnXbA,61
113
+ mns_common-1.2.2.9.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
114
+ mns_common-1.2.2.9.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
115
+ mns_common-1.2.2.9.dist-info/RECORD,,