mns-common 1.2.3.0__py3-none-any.whl → 1.2.3.1__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.
@@ -26,6 +26,34 @@ def get_de_list_company():
26
26
  return list(mongodb_util.find_all_data(db_name_constant.DE_LIST_STOCK)['symbol'])
27
27
 
28
28
 
29
+ # 获取公司详情
30
+ @lru_cache(maxsize=None)
31
+ def get_company_info_info():
32
+ return mongodb_util.find_query_data_choose_field('company_info', {},
33
+ {"_id": 1,
34
+ "industry": 1,
35
+ "company_type": 1,
36
+ "ths_concept_name": 1,
37
+ "ths_concept_code": 1,
38
+ "ths_concept_sync_day": 1,
39
+ 'sub_stock': 1,
40
+ "first_sw_industry": 1,
41
+ "second_sw_industry": 1,
42
+ "third_sw_industry": 1,
43
+ "mv_circulation_ratio": 1,
44
+ "diff_days": 1,
45
+ "list_date": 1,
46
+ 'em_industry': 1,
47
+ 'ths_concept_list_info': 1,
48
+ "kpl_plate_name": 1,
49
+ "kpl_plate_list_info": 1,
50
+ 'operate_profit': 1,
51
+ 'total_operate_income': 1,
52
+ "flow_mv_sp": 1,
53
+ "total_mv_sp": 1
54
+ })
55
+
56
+
29
57
  # 使用同花顺行业分类
30
58
  def amend_ths_industry(real_time_quotes_now_init):
31
59
  real_time_quotes_now = real_time_quotes_now_init.copy()
@@ -10,7 +10,7 @@ sys.path.append(project_path)
10
10
  TOPIC
11
11
  '''
12
12
 
13
- # 同花顺新增概念TOPIC
13
+ # redis 消息TOPIC
14
14
  REDIS_MSG_TOPIC = 'REDIS_MSG_TOPIC'
15
15
  '''
16
16
  MSG
@@ -1,4 +1,4 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mns_common
3
- Version: 1.2.3.0
3
+ Version: 1.2.3.1
4
4
 
@@ -59,7 +59,7 @@ mns_common/component/classify/symbol_classify_api.py,sha256=fwT2qM-F-eADOtUeRgyq
59
59
  mns_common/component/classify/symbol_classify_param.py,sha256=ZOXoZeZ2grVACrpRCQyTF6_NEI9fI-tspYj7jubnkmc,1356
60
60
  mns_common/component/company/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
61
61
  mns_common/component/company/company_common_service_api.py,sha256=HHnLkhMgaOk6ZZoOJ2-E_R7-WeX1q0HtLM2IPAk06WE,7992
62
- mns_common/component/company/company_common_service_new_api.py,sha256=wPa285iOyRx075GloNh4Yt7wThi140uXyGecGbxOvUc,2943
62
+ mns_common/component/company/company_common_service_new_api.py,sha256=eJ08RuutxJMfII78CBdyiaFewjw6f2ZEMGBi5aUUtLw,4752
63
63
  mns_common/component/concept/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
64
64
  mns_common/component/concept/kpl_concept_common_service_api.py,sha256=Ruc3INOhVjB0X1LeMRX0zL3uhv9OLweG2hj6wkZffow,3235
65
65
  mns_common/component/concept/ths_concept_common_service_api.py,sha256=KkbEnBTz3HZs8mSJ-2FX-UrPSlJfMOd8xSXRmtDpqPc,9682
@@ -96,7 +96,7 @@ mns_common/constant/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZ
96
96
  mns_common/constant/black_list_classify_enum.py,sha256=I8U_DcltzYvlWjgn-TFLImgVgPuO0lxMnEJAQJBljdo,3995
97
97
  mns_common/constant/db_name_constant.py,sha256=nCYyvRvKYdlDij4575GfcRicUYPZAU07J3LGHyVjVwM,2994
98
98
  mns_common/constant/price_enum.py,sha256=nhcPxk0AFdQAp8IsNr5EP9xURLqqJuSl6ljIzTp7Wyo,1093
99
- mns_common/constant/redis_msg_constant.py,sha256=4v19_NJKVt042Y6lb-tpFjnDHm_EE4koB39bcvtQWHk,319
99
+ mns_common/constant/redis_msg_constant.py,sha256=2KuivO0DbS9sVEXH_G7XD1O6mXkBA8Z1NlCa_72gAdA,310
100
100
  mns_common/constant/self_choose_constant.py,sha256=rHaVnFy3T2uF9T9y6utucyz1rpbbe0Zjb1f8ZAChXl0,492
101
101
  mns_common/db/MongodbUtil.py,sha256=9SRED0DJH-4_NzbVehdm2x07Ts68YYm87nEvCywHIf4,11750
102
102
  mns_common/db/MongodbUtilLocal.py,sha256=xLUTeeZ83BbqPtUEwy7QmPtkSfwPyNB_5ggkn-eMpBQ,7560
@@ -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.3.0.dist-info/METADATA,sha256=3gQdP3y62MpofqgWGbxNdTg8YLeDorsGRNqimUhvCtU,61
113
- mns_common-1.2.3.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
114
- mns_common-1.2.3.0.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
115
- mns_common-1.2.3.0.dist-info/RECORD,,
112
+ mns_common-1.2.3.1.dist-info/METADATA,sha256=wYudTwlehZQiTHDdBP0Ezsgw6dNYjrisvZC7JcJRbiM,61
113
+ mns_common-1.2.3.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
114
+ mns_common-1.2.3.1.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
115
+ mns_common-1.2.3.1.dist-info/RECORD,,