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

@@ -78,6 +78,7 @@ def add_pre_prefix_one(symbol):
78
78
  else:
79
79
  return 'BJ' + symbol
80
80
 
81
+
81
82
  # 添加后缀
82
83
  def add_after_prefix_one(symbol):
83
84
  symbol_simple = symbol[0:6]
@@ -117,8 +118,7 @@ def exclude_st_symbol(real_time_quotes_now_df):
117
118
  # 排除带星的ST 容易退市
118
119
  def exclude_star_st_symbol(df):
119
120
  exclude_st_symbol_list = list(
120
- df.loc[(df['name'].str.contains('\*'))
121
- | (df['name'].str.contains('退'))]['symbol'])
121
+ df.loc[(df['name'].str.contains(r'\*')) | (df['name'].str.contains('退'))]['symbol'])
122
122
  return df.loc[
123
123
  ~(df['symbol'].isin(
124
124
  exclude_st_symbol_list))]
@@ -1,4 +1,4 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mns-common
3
- Version: 1.4.1.3
3
+ Version: 1.4.1.4
4
4
 
@@ -73,7 +73,7 @@ mns_common/api/us/ths_us_company_info_api.py,sha256=qQjv4F-ovQ2uuu-FlBAnxjvVA7qj
73
73
  mns_common/api/xueqiu/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
74
74
  mns_common/api/xueqiu/xue_qiu_k_line_api.py,sha256=rY0891DR0aiV0T6oHMjoOU90InSZodRdJwWvzdgCDl8,4804
75
75
  mns_common/component/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
76
- mns_common/component/common_service_fun_api.py,sha256=ZPPqo-ZBwSJ23I_2xXGxXyN6emYrlPqUuBGjA2Cv4gs,6629
76
+ mns_common/component/common_service_fun_api.py,sha256=bCVHwl1WIip76amFddPsuxkj3O0AG-Bw4ToyPp0FJyk,6616
77
77
  mns_common/component/cache/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
78
78
  mns_common/component/cache/cache_service.py,sha256=QX7tjR1iGsoCyGt6O41w8aRbZ-3xXQ-53Ps3nmUzAGQ,809
79
79
  mns_common/component/classify/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
@@ -153,7 +153,7 @@ mns_common/utils/date_handle_util.py,sha256=XS-MyA8_7k35LOCFAYOHgVcVkMft_Kc4Wa9U
153
153
  mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
154
154
  mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
155
155
  mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
156
- mns_common-1.4.1.3.dist-info/METADATA,sha256=ykWc_Zep9huT9_gVFH8uocejKdAw_IaiT6_weX1fGAE,61
157
- mns_common-1.4.1.3.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
158
- mns_common-1.4.1.3.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
159
- mns_common-1.4.1.3.dist-info/RECORD,,
156
+ mns_common-1.4.1.4.dist-info/METADATA,sha256=exaSmriVQhDpHy7tme10b51hr4fJ3QlJFn1KgcZqlTs,61
157
+ mns_common-1.4.1.4.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
158
+ mns_common-1.4.1.4.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
159
+ mns_common-1.4.1.4.dist-info/RECORD,,