mns-common 1.2.6.7__py3-none-any.whl → 1.2.6.8__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.

@@ -106,7 +106,7 @@ def convert_to_float(value):
106
106
  elif '%' in value:
107
107
  return float(value.replace('%', '').replace(' ', '')) / 100
108
108
  elif '万' in value:
109
- return float(value.replace('万', '').replace(' ', '').replace('元', '')) * 1e5
109
+ return float(value.replace('万', '').replace(' ', '').replace('元', '')) * 1e4
110
110
  elif '未披露' in value:
111
111
  return 0
112
112
  return -1
@@ -118,5 +118,5 @@ mongodb_util = MongodbUtil('27017')
118
118
  if __name__ == '__main__':
119
119
  stock_account_info = mongodb_util.find_query_data('stock_account_info', {"type": "ths_cookie", })
120
120
  ths_cookie_test = list(stock_account_info['cookie'])[0]
121
- company_df_test = get_company_hold_info('000617', ths_cookie_test)
121
+ company_df_test = get_company_hold_info('000895', ths_cookie_test)
122
122
  print(company_df_test)
@@ -1,4 +1,4 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mns_common
3
- Version: 1.2.6.7
3
+ Version: 1.2.6.8
4
4
 
@@ -40,7 +40,7 @@ mns_common/api/ths/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE
40
40
  mns_common/api/ths/big_deal/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
41
41
  mns_common/api/ths/big_deal/ths_big_deal_api.py,sha256=gxtIUbowxx8gDJZfT2RISrhXVmvsgbdclYbxUiZsTlY,3644
42
42
  mns_common/api/ths/company/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
43
- mns_common/api/ths/company/ths_company_info_api.py,sha256=dwncEtzmYCI36T8aGMaT96pgMf3F54R5PQ8z2W7-hrQ,5929
43
+ mns_common/api/ths/company/ths_company_info_api.py,sha256=KMo_JWynsgrtaILq_bwsSIQoQHoAAn2ieeEzQR2gpDE,5929
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
@@ -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.6.7.dist-info/METADATA,sha256=eGZgoz3tuX6XgnkvVOA9opLBnAoWZ1KGrip_ULRO2hU,61
128
- mns_common-1.2.6.7.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
129
- mns_common-1.2.6.7.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
130
- mns_common-1.2.6.7.dist-info/RECORD,,
127
+ mns_common-1.2.6.8.dist-info/METADATA,sha256=U-6qDdjR_30m9pEH6H0zBVe1yP2dFVfFWg6mgizGtE4,61
128
+ mns_common-1.2.6.8.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
129
+ mns_common-1.2.6.8.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
130
+ mns_common-1.2.6.8.dist-info/RECORD,,