mns-common 1.2.5.7__py3-none-any.whl → 1.2.5.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.

Potentially problematic release.


This version of mns-common might be problematic. Click here for more details.

@@ -13,6 +13,7 @@ from loguru import logger
13
13
 
14
14
 
15
15
  def get_hk_company_info(symbol, ths_cookie):
16
+ symbol_copy = symbol
16
17
  symbol = symbol[1:5]
17
18
  symbol = "HK" + symbol
18
19
  url = "https://basic.10jqka.com.cn/new/" + symbol + "/company.html"
@@ -106,7 +107,7 @@ def get_hk_company_info(symbol, ths_cookie):
106
107
  soup = BeautifulSoup(company_detail.next, 'html.parser')
107
108
  text = soup.text
108
109
  company_hk_df['company_detail'] = text
109
- company_hk_df['symbol'] = symbol
110
+ company_hk_df['symbol'] = symbol_copy
110
111
  return company_hk_df
111
112
 
112
113
 
@@ -7,9 +7,6 @@ project_path = file_path[0:end]
7
7
  sys.path.append(project_path)
8
8
  from functools import lru_cache
9
9
  from mns_common.db.MongodbUtil import MongodbUtil
10
- import pandas as pd
11
- import mns_common.utils.data_frame_util as data_frame_util
12
- import mns_common.component.common_service_fun_api as common_service_fun_api
13
10
  import mns_common.constant.db_name_constant as db_name_constant
14
11
 
15
12
  mongodb_util = MongodbUtil('27017')
@@ -17,10 +14,7 @@ mongodb_util = MongodbUtil('27017')
17
14
 
18
15
  @lru_cache(maxsize=None)
19
16
  def get_hk_company_info():
20
- query_field = {'symbol': 1,
21
- 'name': 1,
22
- 'industry': 1,
23
- 'hk_ggt': 1}
17
+ query_field = {}
24
18
  return mongodb_util.find_query_data_choose_field(db_name_constant.COMPANY_INFO_HK,
25
19
  {}, query_field)
26
20
 
@@ -1,4 +1,4 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mns_common
3
- Version: 1.2.5.7
3
+ Version: 1.2.5.9
4
4
 
@@ -17,7 +17,7 @@ mns_common/api/em/east_money_stock_v2_api.py,sha256=HrvvQiKbIqhhiSBKSZV_hGlWHWFa
17
17
  mns_common/api/em/em_concept_index_api.py,sha256=lbW0emuCSlJ54Sj8o07AuTEfLmNfOPo3Cz4lwWiv4c8,8285
18
18
  mns_common/api/em/self_choose/__init__.py,sha256=vAy9qYgUgZL9Y0w3BBbqmZ9zES46pPnlJjO2hdtotp0,2673
19
19
  mns_common/api/hk/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
20
- mns_common/api/hk/ths_hk_company_info_api.py,sha256=JPKfnZyFi2Q8yR34sbVCxcQiCqzV-Hip0v36QEdUqvg,5329
20
+ mns_common/api/hk/ths_hk_company_info_api.py,sha256=Cxlbuccopa0G1s8o0uTnnyLn2QaxOvbDpJQJOj7J8a8,5360
21
21
  mns_common/api/kpl/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
22
22
  mns_common/api/kpl/common/__init__.py,sha256=8b2PuXJM5fLoq71cWPXp695czQuaRtyR6OVHajGjDPc,161
23
23
  mns_common/api/kpl/common/kpl_common_api.py,sha256=leSgOCg5ClWbGCdIkeeMxUy_x1FcF7NlchaMvzvz1ow,6536
@@ -73,7 +73,7 @@ mns_common/component/deal/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tN
73
73
  mns_common/component/deal/deal_service_api.py,sha256=XV_L8qfeTPbojmNXFjnUe-5ZTp3ADT3ett0j-gPuPVI,3806
74
74
  mns_common/component/deal/terminal_enum.py,sha256=JUkSTXLQW1fob05PCCzIBg_VKlGmqaJEa0GOvrQH6e0,275
75
75
  mns_common/component/hk/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
76
- mns_common/component/hk/company_hk_service_api.py,sha256=qtkG2YZ2bWpXKR9eaCmpdCiSptQxLa_jXvH3nThJ2Gw,1187
76
+ mns_common/component/hk/company_hk_service_api.py,sha256=j_YBfB7bbcUOzQoXuwSEoeUwuI8-sDGKFtDhFL5bpEs,918
77
77
  mns_common/component/industry/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
78
78
  mns_common/component/industry/ths_industry_index_api.py,sha256=boSEyRfCcUtCrsbeErckKKpTboo2UcaKiiCnWJHzvAU,3252
79
79
  mns_common/component/k_line/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
@@ -117,7 +117,7 @@ mns_common/utils/date_handle_util.py,sha256=qkEyKLYiVq6qpKVp32MLKwRtGKVBK6AY5at2
117
117
  mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
118
118
  mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
119
119
  mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
120
- mns_common-1.2.5.7.dist-info/METADATA,sha256=_ioduPoKLlmXbe6f_h9rfv33ra7w9z8gl2OfcTx6Cgg,61
121
- mns_common-1.2.5.7.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
122
- mns_common-1.2.5.7.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
123
- mns_common-1.2.5.7.dist-info/RECORD,,
120
+ mns_common-1.2.5.9.dist-info/METADATA,sha256=1Uik4yvgM3ic6AYTF6E2PjeuYrie0hPY4ggMYopz8lI,61
121
+ mns_common-1.2.5.9.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
122
+ mns_common-1.2.5.9.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
123
+ mns_common-1.2.5.9.dist-info/RECORD,,