akshare 1.14.69__py3-none-any.whl → 1.14.71__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 +3 -1
- akshare/stock_fundamental/stock_mda_ym.py +4 -3
- {akshare-1.14.69.dist-info → akshare-1.14.71.dist-info}/METADATA +4 -2
- {akshare-1.14.69.dist-info → akshare-1.14.71.dist-info}/RECORD +7 -7
- {akshare-1.14.69.dist-info → akshare-1.14.71.dist-info}/WHEEL +1 -1
- {akshare-1.14.69.dist-info → akshare-1.14.71.dist-info}/LICENSE +0 -0
- {akshare-1.14.69.dist-info → akshare-1.14.71.dist-info}/top_level.txt +0 -0
akshare/__init__.py
CHANGED
|
@@ -2880,9 +2880,11 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
|
|
|
2880
2880
|
1.14.67 fix: fix futures_foreign_commodity_realtime interface
|
|
2881
2881
|
1.14.68 fix: fix fund_scale_open_sina interface
|
|
2882
2882
|
1.14.69 fix: fix stock_zygc_ym interface
|
|
2883
|
+
1.14.70 fix: fix setup.py
|
|
2884
|
+
1.14.71 fix: fix stock_mda_ym interface
|
|
2883
2885
|
"""
|
|
2884
2886
|
|
|
2885
|
-
__version__ = "1.14.
|
|
2887
|
+
__version__ = "1.14.71"
|
|
2886
2888
|
__author__ = "AKFamily"
|
|
2887
2889
|
|
|
2888
2890
|
import sys
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
# -*- coding:utf-8 -*-
|
|
2
2
|
# !/usr/bin/env python
|
|
3
3
|
"""
|
|
4
|
-
Date: 2024/
|
|
4
|
+
Date: 2024/9/3 21:00
|
|
5
5
|
Desc: 益盟-F10-管理层讨论与分析
|
|
6
6
|
https://f10.emoney.cn/f10/zbyz/1000001
|
|
7
7
|
"""
|
|
8
|
+
|
|
8
9
|
import pandas as pd
|
|
9
10
|
import requests
|
|
10
11
|
from bs4 import BeautifulSoup
|
|
@@ -21,7 +22,7 @@ def stock_mda_ym(symbol: str = "000001") -> pd.DataFrame:
|
|
|
21
22
|
"""
|
|
22
23
|
url = f"http://f10.emoney.cn/f10/zygc/{symbol}"
|
|
23
24
|
r = requests.get(url)
|
|
24
|
-
soup = BeautifulSoup(r.text, "lxml")
|
|
25
|
+
soup = BeautifulSoup(r.text, features="lxml")
|
|
25
26
|
year_list = [
|
|
26
27
|
item.text.strip()
|
|
27
28
|
for item in soup.find(attrs={"class": "swlab_t"}).find_all("li")
|
|
@@ -36,5 +37,5 @@ def stock_mda_ym(symbol: str = "000001") -> pd.DataFrame:
|
|
|
36
37
|
|
|
37
38
|
|
|
38
39
|
if __name__ == "__main__":
|
|
39
|
-
stock_mda_ym_df = stock_mda_ym(symbol="
|
|
40
|
+
stock_mda_ym_df = stock_mda_ym(symbol="000001")
|
|
40
41
|
print(stock_mda_ym_df)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: akshare
|
|
3
|
-
Version: 1.14.
|
|
3
|
+
Version: 1.14.71
|
|
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
|
|
@@ -29,7 +29,9 @@ Requires-Dist: openpyxl>=3.0.3
|
|
|
29
29
|
Requires-Dist: jsonpath>=0.82
|
|
30
30
|
Requires-Dist: tabulate>=0.8.6
|
|
31
31
|
Requires-Dist: decorator>=4.4.2
|
|
32
|
-
Requires-Dist: mini-racer>=0.12.4
|
|
32
|
+
Requires-Dist: mini-racer>=0.12.4; platform_system != "Linux"
|
|
33
|
+
Requires-Dist: py-mini-racer>=0.6.0; platform_system == "Linux"
|
|
34
|
+
Requires-Dist: akracer>=0.0.13; platform_system == "Linux"
|
|
33
35
|
Provides-Extra: full
|
|
34
36
|
Requires-Dist: akqmt; extra == "full"
|
|
35
37
|
Provides-Extra: qmt
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
akshare/__init__.py,sha256=M
|
|
1
|
+
akshare/__init__.py,sha256=PxYmOSMwYC0Niwcd8USeTwNa7i3iRFb7w5kgDV3yT-M,181368
|
|
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
|
|
@@ -360,7 +360,7 @@ akshare/stock_fundamental/stock_hold.py,sha256=h8V5v_0YOi3FJPc1w95WBaO0v3n87lcuf
|
|
|
360
360
|
akshare/stock_fundamental/stock_ipo_declare.py,sha256=18j2542TT2nCJ1HWBcT6-HupRbXvesA30qqejknn-kM,1809
|
|
361
361
|
akshare/stock_fundamental/stock_kcb_detail_sse.py,sha256=MBanq3sDvb0OTbUl_gg7avDUQg_3Ugzqr43cB43fp60,940
|
|
362
362
|
akshare/stock_fundamental/stock_kcb_sse.py,sha256=4_Bu8Qe6lGvlscH-giIPIJaYXpd4bYKZ1rM-hZiLBaE,1534
|
|
363
|
-
akshare/stock_fundamental/stock_mda_ym.py,sha256=
|
|
363
|
+
akshare/stock_fundamental/stock_mda_ym.py,sha256=P5aaNk3ecS6j-12N2niReiOKD3KM9FhaNgTE07j-1Tw,1106
|
|
364
364
|
akshare/stock_fundamental/stock_notice.py,sha256=tGxGz1Usr3qQzgs1Y71imDPkqJz5ooismz3BiaBwQR0,3928
|
|
365
365
|
akshare/stock_fundamental/stock_profit_forecast_em.py,sha256=QP7jgMwto9o1zc1vDl9BBeta_lgxA13NMbijs9eqjRs,5377
|
|
366
366
|
akshare/stock_fundamental/stock_profit_forecast_hk_etnet.py,sha256=dQaqxi0wXOidIuAxjUzZy_gdy16HEi20I3jEdpNM3qc,5179
|
|
@@ -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.
|
|
384
|
-
akshare-1.14.
|
|
385
|
-
akshare-1.14.
|
|
386
|
-
akshare-1.14.
|
|
387
|
-
akshare-1.14.
|
|
383
|
+
akshare-1.14.71.dist-info/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
|
|
384
|
+
akshare-1.14.71.dist-info/METADATA,sha256=HK7NikDGB4ez34tU6xCcEEcegdmfJPrIq6Ost_E8RVc,14112
|
|
385
|
+
akshare-1.14.71.dist-info/WHEEL,sha256=uCRv0ZEik_232NlR4YDw4Pv3Ajt5bKvMH13NUU7hFuI,91
|
|
386
|
+
akshare-1.14.71.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
|
|
387
|
+
akshare-1.14.71.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|