mns-common 1.2.6.8__py3-none-any.whl → 1.2.7.0__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.
Potentially problematic release.
This version of mns-common might be problematic. Click here for more details.
- mns_common/api/ths/concept/app/ths_concept_index_app.py +6 -2
- mns_common/constant/db_name_constant.py +6 -0
- {mns_common-1.2.6.8.dist-info → mns_common-1.2.7.0.dist-info}/METADATA +1 -1
- {mns_common-1.2.6.8.dist-info → mns_common-1.2.7.0.dist-info}/RECORD +6 -6
- {mns_common-1.2.6.8.dist-info → mns_common-1.2.7.0.dist-info}/WHEEL +0 -0
- {mns_common-1.2.6.8.dist-info → mns_common-1.2.7.0.dist-info}/top_level.txt +0 -0
|
@@ -151,12 +151,16 @@ from mns_common.db.MongodbUtil import MongodbUtil
|
|
|
151
151
|
|
|
152
152
|
mongodb_util = MongodbUtil('27017')
|
|
153
153
|
if __name__ == '__main__':
|
|
154
|
-
end_time_test = '
|
|
155
|
-
result_df_test = get_ths_concept_his_info('
|
|
154
|
+
end_time_test = '20241011093000'
|
|
155
|
+
result_df_test = get_ths_concept_his_info('20241011093000', end_time_test, 500, 2)
|
|
156
156
|
result_df_test['block_code'] = result_df_test['block_code'].astype(int)
|
|
157
157
|
result_df_test['_id'] = result_df_test['block_code']
|
|
158
158
|
|
|
159
159
|
mongodb_util.save_mongo(result_df_test, 'ths_concept_info')
|
|
160
|
+
|
|
161
|
+
exist_ths_concept_list = mongodb_util.find_all_data('ths_concept_list')
|
|
162
|
+
not_in_exist_list = result_df_test.loc[~(result_df_test['block_code'].isin(exist_ths_concept_list['symbol']))]
|
|
163
|
+
mongodb_util.save_mongo(not_in_exist_list, 'not_in_exist_list')
|
|
160
164
|
print(result_df_test)
|
|
161
165
|
|
|
162
166
|
# while True:
|
|
@@ -44,7 +44,7 @@ mns_common/api/ths/company/ths_company_info_api.py,sha256=KMo_JWynsgrtaILq_bwsSI
|
|
|
44
44
|
mns_common/api/ths/concept/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
|
|
45
45
|
mns_common/api/ths/concept/app/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
|
|
46
46
|
mns_common/api/ths/concept/app/ths_concept_detail_app.py,sha256=pPrpntV1tQlgdsSeHaNfde-Q6RM_bRH2kVH_MCloW8s,7087
|
|
47
|
-
mns_common/api/ths/concept/app/ths_concept_index_app.py,sha256=
|
|
47
|
+
mns_common/api/ths/concept/app/ths_concept_index_app.py,sha256=_7QuYoMKOnMqDE85mfWtBGZ1NDvRUDRpC0b0rMdrku0,8171
|
|
48
48
|
mns_common/api/ths/concept/web/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
|
|
49
49
|
mns_common/api/ths/concept/web/ths_common_js_api.py,sha256=ekU9BtSX0xFkeFDVn9QQG_qgQXhpSmZKGKpgkDbeYk4,381
|
|
50
50
|
mns_common/api/ths/concept/web/ths_company_info_web.py,sha256=Q_yofooG5ruwWQRDIieTqDiKWcfr8cGSLghLLsmoyVg,6670
|
|
@@ -109,7 +109,7 @@ mns_common/component/zt/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3Hi
|
|
|
109
109
|
mns_common/component/zt/zt_common_service_api.py,sha256=6pHRLLJjKcLLBA-xXkAU8SE6DZ5dgVFBRVjJmhkL0II,11945
|
|
110
110
|
mns_common/constant/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
|
|
111
111
|
mns_common/constant/black_list_classify_enum.py,sha256=I8U_DcltzYvlWjgn-TFLImgVgPuO0lxMnEJAQJBljdo,3995
|
|
112
|
-
mns_common/constant/db_name_constant.py,sha256=
|
|
112
|
+
mns_common/constant/db_name_constant.py,sha256=pdr0F0t73unLDqD_1Q0pqAkAxYw_6l3r3enKl51g3TY,3429
|
|
113
113
|
mns_common/constant/price_enum.py,sha256=nhcPxk0AFdQAp8IsNr5EP9xURLqqJuSl6ljIzTp7Wyo,1093
|
|
114
114
|
mns_common/constant/redis_msg_constant.py,sha256=fMtI_WbJ2IkMX4qGwvR5MkMO0NqU8XgUUZqQzHIRscU,501
|
|
115
115
|
mns_common/constant/self_choose_constant.py,sha256=QJVSwUpnXvMYA62V3_8ptDqBdI2J8S5FqI5rYSJTwT0,496
|
|
@@ -124,7 +124,7 @@ mns_common/utils/date_handle_util.py,sha256=qkEyKLYiVq6qpKVp32MLKwRtGKVBK6AY5at2
|
|
|
124
124
|
mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
|
|
125
125
|
mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
|
|
126
126
|
mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
|
|
127
|
-
mns_common-1.2.
|
|
128
|
-
mns_common-1.2.
|
|
129
|
-
mns_common-1.2.
|
|
130
|
-
mns_common-1.2.
|
|
127
|
+
mns_common-1.2.7.0.dist-info/METADATA,sha256=VHzn0pH0QUPXAO3TYH6SUkT4HoRP92mc47TIdBXt4_0,61
|
|
128
|
+
mns_common-1.2.7.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
129
|
+
mns_common-1.2.7.0.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
|
|
130
|
+
mns_common-1.2.7.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|