akshare 1.14.90__py3-none-any.whl → 1.14.91__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
@@ -2901,9 +2901,10 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
2901
2901
  1.14.88 fix: fix stock_hot_rank_relate_em interface
2902
2902
  1.14.89 fix: fix bond_spot_deal interface
2903
2903
  1.14.90 fix: fix stock_board_change_em interface
2904
+ 1.14.91 fix: fix stock_history_dividend interface
2904
2905
  """
2905
2906
 
2906
- __version__ = "1.14.90"
2907
+ __version__ = "1.14.91"
2907
2908
  __author__ = "AKFamily"
2908
2909
 
2909
2910
  import sys
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env python
2
2
  # -*- coding:utf-8 -*-
3
3
  """
4
- Date: 2024/6/7 22:00
4
+ Date: 2024/10/2 9:00
5
5
  Desc: 股票基本面数据
6
6
  新浪财经-财务报表-财务摘要
7
7
  https://vip.stock.finance.sina.com.cn/corp/go.php/vFD_FinanceSummary/stockid/600004.phtml
@@ -17,6 +17,7 @@ from io import StringIO
17
17
  import pandas as pd
18
18
  import requests
19
19
  from bs4 import BeautifulSoup
20
+
20
21
  from akshare.utils.tqdm import get_tqdm
21
22
 
22
23
 
@@ -257,12 +258,12 @@ def stock_financial_analysis_indicator(
257
258
  def stock_history_dividend() -> pd.DataFrame:
258
259
  """
259
260
  新浪财经-发行与分配-历史分红
260
- https://vip.stock.finance.sina.com.cn/q/go.php/vInvestConsult/kind/lsfh/index.phtml?p=1&num=5000
261
+ https://vip.stock.finance.sina.com.cn/q/go.php/vInvestConsult/kind/lsfh/index.phtml
261
262
  :return: 所有股票的历史分红数据
262
263
  :rtype: pandas.DataFrame
263
264
  """
264
265
  url = "https://vip.stock.finance.sina.com.cn/q/go.php/vInvestConsult/kind/lsfh/index.phtml"
265
- params = {"p": "1", "num": "5000"}
266
+ params = {"p": "1", "num": "50000"}
266
267
  r = requests.get(url, params=params)
267
268
  temp_df = pd.read_html(StringIO(r.text))[0]
268
269
  temp_df["代码"] = temp_df["代码"].astype(str).str.zfill(6)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: akshare
3
- Version: 1.14.90
3
+ Version: 1.14.91
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=H6s_sgiwergPca28QDiOa11XfE1brlRuzmAhfkF4zgE,182331
1
+ akshare/__init__.py,sha256=xgEhcHMEfUNSJnHQ6FeoAddhGwbf57Rup1Q6bz0BnzU,182381
2
2
  akshare/datasets.py,sha256=-qdwaQjgBlftX84uM74KJqCYJYkQ50PV416_neA4uls,995
3
3
  akshare/air/__init__.py,sha256=RMTf1bT5EOE3ttWpn3hGu1LtUmsVxDoa0W7W0gXHOy8,81
4
4
  akshare/air/air_hebei.py,sha256=xIXNGLK7IGYqrkteM9fxnHAwWqk6PCQs6D9-ggZ7byY,4442
@@ -353,7 +353,7 @@ akshare/stock_feature/stock_zh_vote_baidu.py,sha256=SsSNnCq7PDFMzWFcPFcC_MSc9rua
353
353
  akshare/stock_feature/stock_ztb_em.py,sha256=VaA1Hj0ExzTR7wi5mj_Ruhgvl5bZNyKINiKR2p9n73Y,17019
354
354
  akshare/stock_feature/ths.js,sha256=AWPkHf3L2Il1UUL0F5qDqNn1dfU0OlZBNUbMf8AmI3Y,39664
355
355
  akshare/stock_fundamental/__init__.py,sha256=jiXoO9OXiMxB0wHaPQkuxNckYuoFKtzuhZL1ytnE2nQ,82
356
- akshare/stock_fundamental/stock_finance.py,sha256=d10iE6BPMsEEPDk7-Xd5_3EnHWlUv5Y_7t7ibniW0A4,30687
356
+ akshare/stock_fundamental/stock_finance.py,sha256=WuYvLo8xZxH-VS-6P-S31yzsKA1ojrwegcLXP2byle4,30676
357
357
  akshare/stock_fundamental/stock_finance_hk.py,sha256=Tn_vhGqxdnNDaY6Rd_M6rDvYOYpWMKGGiHudcJkShq8,6917
358
358
  akshare/stock_fundamental/stock_finance_ths.py,sha256=hgNYYscWOA-ebchowQ6b08v6yIUwITj50Wys3SoA5Ao,8483
359
359
  akshare/stock_fundamental/stock_hold.py,sha256=h8V5v_0YOi3FJPc1w95WBaO0v3n87lcufcUlu-i6XXk,5394
@@ -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.14.90.dist-info/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
384
- akshare-1.14.90.dist-info/METADATA,sha256=dJfTNyF34l2ZyfXLBCrPpCNd8vAmjcr18IkXaTCrqrY,14112
385
- akshare-1.14.90.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
386
- akshare-1.14.90.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
387
- akshare-1.14.90.dist-info/RECORD,,
383
+ akshare-1.14.91.dist-info/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
384
+ akshare-1.14.91.dist-info/METADATA,sha256=G5tZI-KJVIRpPq3PB4WAP-ts3hpjbOaineIazx6011s,14112
385
+ akshare-1.14.91.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
386
+ akshare-1.14.91.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
387
+ akshare-1.14.91.dist-info/RECORD,,