akshare 1.15.82__py3-none-any.whl → 1.15.83__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 akshare might be problematic. Click here for more details.

akshare/__init__.py CHANGED
@@ -2992,9 +2992,10 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
2992
2992
  1.15.80 fix: fix option_gfex_vol_daily interface
2993
2993
  1.15.81 fix: fix bank_fjcf_table_detail interface
2994
2994
  1.15.82 fix: fix stock_individual_spot_xq interface
2995
+ 1.15.83 fix: fix stock_szse_sector_summary interface
2995
2996
  """
2996
2997
 
2997
- __version__ = "1.15.82"
2998
+ __version__ = "1.15.83"
2998
2999
  __author__ = "AKFamily"
2999
3000
 
3000
3001
  import sys
@@ -90,7 +90,7 @@ def stock_szse_area_summary(date: str = "202203") -> pd.DataFrame:
90
90
 
91
91
 
92
92
  def stock_szse_sector_summary(
93
- symbol: str = "当月", date: str = "202303"
93
+ symbol: str = "当月", date: str = "202501"
94
94
  ) -> pd.DataFrame:
95
95
  """
96
96
  深圳证券交易所-统计资料-股票行业成交数据
@@ -126,7 +126,7 @@ def stock_szse_sector_summary(
126
126
  )
127
127
  )
128
128
  date_format = "-".join([date[:4], date[4:]])
129
- url = f"http://www.szse.cn/market/periodical/month/{date_url_dict[date_format]}"
129
+ url = f"https://www.szse.cn/market/periodical/month/{date_url_dict[date_format]}"
130
130
  r = requests.get(url)
131
131
  r.encoding = "utf8"
132
132
  soup = BeautifulSoup(r.text, features="lxml")
@@ -637,7 +637,7 @@ if __name__ == "__main__":
637
637
  print(stock_szse_area_summary_df)
638
638
 
639
639
  stock_szse_sector_summary_df = stock_szse_sector_summary(
640
- symbol="当月", date="202303"
640
+ symbol="当月", date="202501"
641
641
  )
642
642
  print(stock_szse_sector_summary_df)
643
643
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: akshare
3
- Version: 1.15.82
3
+ Version: 1.15.83
4
4
  Summary: AKShare is an elegant and simple financial data interface library for Python, built for human beings!
5
5
  Home-page: https://github.com/akfamily/akshare
6
6
  Author: AKFamily
@@ -1,4 +1,4 @@
1
- akshare/__init__.py,sha256=Yqarpz5kikRe1cNlSQJ5X-XH3xWMQ_dNFOhTU9SbZL8,186702
1
+ akshare/__init__.py,sha256=lmCddktWjPQd-jRCkri7SL2go_N5AGXhd8WxL5dRBOw,186755
2
2
  akshare/datasets.py,sha256=rKuRNZrqi6IMsZ9nyvO3Rx02js0tH3zMLjz8HQNAoPQ,963
3
3
  akshare/exceptions.py,sha256=WEJjIhSmJ_xXNW6grwV4nufE_cfmmyuhmueVGiN1VAg,878
4
4
  akshare/request.py,sha256=HtFFf9MhfEibR-ETWe-1Tts6ELU4VKSqA-ghaXjegQM,4252
@@ -268,7 +268,7 @@ akshare/stock/stock_repurchase_em.py,sha256=XVAUD_yd48wqxbMbfU0Ne2SNFOSG9NBklUhf
268
268
  akshare/stock/stock_share_changes_cninfo.py,sha256=siy4PiZgYuNQn5jUUg2G7CyZ_yvuXNi3MVUDFhe5npY,4923
269
269
  akshare/stock/stock_share_hold.py,sha256=sKiWH69n8_MQohi0qZ3Br-WQRq9I7S0USrb-tMVinb0,11028
270
270
  akshare/stock/stock_stop.py,sha256=8HyazJAFj-s12ujUtrxO8VPXyA5bF9-3eNEj0qzGwMg,1185
271
- akshare/stock/stock_summary.py,sha256=2cmwzxH7RaS_SUXuX0fQaLHYDTotGa2KvHn2yWVYSZI,22890
271
+ akshare/stock/stock_summary.py,sha256=CkUB2Y4ZcNtNbyKb1hJZDG9KvlvqMDNvcPwLN7iO7AQ,22891
272
272
  akshare/stock/stock_us_famous.py,sha256=enx_-EzEJWAhrMVQZaN83ETY_YEWO2xEStRm6z3upO0,3655
273
273
  akshare/stock/stock_us_js.py,sha256=wwZpRvVHqjxwd0cb2O5vtRW8Zw90Kdl5O4XNwoevN64,2502
274
274
  akshare/stock/stock_us_pink.py,sha256=jgkEjPm_qa4zSN1MH0unHJopSkcF-8Rqlp5Kus2KaQ8,3062
@@ -380,8 +380,8 @@ akshare/utils/token_process.py,sha256=K4rGXjh_tgugbRcyOK2h2x0jP3PT65IIK7nxhUKhOe
380
380
  akshare/utils/tqdm.py,sha256=MuPNwcswkOGjwWQOMWXi9ZvQ_RmW4obCWRj2i7HM7FE,847
381
381
  tests/__init__.py,sha256=gNzhlO0UPjFq6Ieb38kaVIODXv4cTDByrdohAZnDYt4,82
382
382
  tests/test_func.py,sha256=j1MGYbZI2if2j_LY1S4FLsf4qfq4NwVqD5wmRlv5Log,832
383
- akshare-1.15.82.dist-info/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
384
- akshare-1.15.82.dist-info/METADATA,sha256=mTs59bJSDogfZSoRup4VtuQdBgtpKnMTr6ZbIOyIHjY,13679
385
- akshare-1.15.82.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
386
- akshare-1.15.82.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
387
- akshare-1.15.82.dist-info/RECORD,,
383
+ akshare-1.15.83.dist-info/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
384
+ akshare-1.15.83.dist-info/METADATA,sha256=4FMu1VzEhreX8Edl_JnArQ6-uZ7lKpF37Uc93A5ty2M,13679
385
+ akshare-1.15.83.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
386
+ akshare-1.15.83.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
387
+ akshare-1.15.83.dist-info/RECORD,,