aishare-txt 1.0.2__tar.gz → 2025.11.6.13__tar.gz

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.
Files changed (34) hide show
  1. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/__init__.py +63 -63
  2. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/ai/client.py +312 -312
  3. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/core/analyzer.py +495 -495
  4. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/core/config.py +323 -323
  5. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/core/data_fetcher.py +593 -466
  6. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/core/report_generator.py +783 -783
  7. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/docs/AI_INTEGRATION.md +212 -212
  8. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/docs/README_/351/207/215/346/236/204/350/257/264/346/230/216.md +202 -202
  9. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/docs//351/207/215/346/236/204/345/256/214/346/210/220/346/200/273/347/273/223.md +148 -148
  10. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/examples/legacy_api.py +259 -259
  11. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/indicators/technical_indicators.py +507 -507
  12. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/utils/stock_list.py +305 -305
  13. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/utils/utils.py +578 -578
  14. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/LICENSE +194 -194
  15. {aishare_txt-1.0.2/aishare_txt.egg-info → aishare_txt-2025.11.6.13}/PKG-INFO +475 -474
  16. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/README.md +3 -3
  17. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13/aishare_txt.egg-info}/PKG-INFO +475 -474
  18. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/aishare_txt.egg-info/not-zip-safe +1 -1
  19. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/aishare_txt.egg-info/requires.txt +1 -0
  20. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/requirements-dev.txt +12 -12
  21. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/requirements.txt +12 -9
  22. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/setup.cfg +4 -4
  23. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/setup.py +4 -5
  24. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/ai/__init__.py +0 -0
  25. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/ai/providers/__init__.py +0 -0
  26. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/core/__init__.py +0 -0
  27. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/indicators/__init__.py +0 -0
  28. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/tests/__init__.py +0 -0
  29. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/AIShareTxt/utils/__init__.py +0 -0
  30. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/MANIFEST.in +0 -0
  31. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/aishare_txt.egg-info/SOURCES.txt +0 -0
  32. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/aishare_txt.egg-info/dependency_links.txt +0 -0
  33. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/aishare_txt.egg-info/entry_points.txt +0 -0
  34. {aishare_txt-1.0.2 → aishare_txt-2025.11.6.13}/aishare_txt.egg-info/top_level.txt +0 -0
@@ -1,63 +1,63 @@
1
- """
2
- AIShareTxt - 股票技术指标分析工具包
3
-
4
- 一个功能强大的股票技术指标分析工具,支持多种技术指标计算、
5
- AI集成分析和报告生成功能。
6
- """
7
-
8
- __version__ = "0.1.0"
9
- __author__ = "AIShareTxt Team"
10
-
11
- # 导入核心类
12
- from .core.analyzer import StockAnalyzer
13
- from .core.data_fetcher import StockDataFetcher
14
- from .core.report_generator import ReportGenerator
15
- from .core.config import IndicatorConfig
16
-
17
- # 导入技术指标
18
- from .indicators.technical_indicators import TechnicalIndicators
19
-
20
- # 导入AI客户端
21
- from .ai.client import AIClient
22
-
23
- # 导入工具
24
- from .utils.utils import Logger
25
- from .utils.stock_list import get_stock_list
26
-
27
- # 定义公共API
28
- __all__ = [
29
- # 核心类
30
- "StockAnalyzer",
31
- "StockDataFetcher",
32
- "ReportGenerator",
33
- "IndicatorConfig",
34
-
35
- # 技术指标
36
- "TechnicalIndicators",
37
-
38
- # AI客户端
39
- "AIClient",
40
-
41
- # 工具
42
- "Logger",
43
- "get_stock_list",
44
- ]
45
-
46
- # 便捷函数
47
- def analyze_stock(symbol, period="1y", use_ai=False, ai_provider="deepseek"):
48
- """
49
- 便捷函数:分析股票技术指标
50
-
51
- 参数:
52
- symbol: 股票代码
53
- period: 数据周期,默认1年
54
- use_ai: 是否使用AI分析
55
- ai_provider: AI提供商,支持"deepseek"或"zhipu"
56
-
57
- 返回:
58
- 分析结果字典
59
- """
60
- analyzer = StockAnalyzer()
61
- return analyzer.analyze_stock(symbol)
62
-
63
-
1
+ """
2
+ AIShareTxt - 股票技术指标分析工具包
3
+
4
+ 一个功能强大的股票技术指标分析工具,支持多种技术指标计算、
5
+ AI集成分析和报告生成功能。
6
+ """
7
+
8
+ __version__ = "2025.11.06.13"
9
+ __author__ = "AIShareTxt Team"
10
+
11
+ # 导入核心类
12
+ from .core.analyzer import StockAnalyzer
13
+ from .core.data_fetcher import StockDataFetcher
14
+ from .core.report_generator import ReportGenerator
15
+ from .core.config import IndicatorConfig
16
+
17
+ # 导入技术指标
18
+ from .indicators.technical_indicators import TechnicalIndicators
19
+
20
+ # 导入AI客户端
21
+ from .ai.client import AIClient
22
+
23
+ # 导入工具
24
+ from .utils.utils import Logger
25
+ from .utils.stock_list import get_stock_list
26
+
27
+ # 定义公共API
28
+ __all__ = [
29
+ # 核心类
30
+ "StockAnalyzer",
31
+ "StockDataFetcher",
32
+ "ReportGenerator",
33
+ "IndicatorConfig",
34
+
35
+ # 技术指标
36
+ "TechnicalIndicators",
37
+
38
+ # AI客户端
39
+ "AIClient",
40
+
41
+ # 工具
42
+ "Logger",
43
+ "get_stock_list",
44
+ ]
45
+
46
+ # 便捷函数
47
+ def analyze_stock(symbol, period="1y", use_ai=False, ai_provider="deepseek"):
48
+ """
49
+ 便捷函数:分析股票技术指标
50
+
51
+ 参数:
52
+ symbol: 股票代码
53
+ period: 数据周期,默认1年
54
+ use_ai: 是否使用AI分析
55
+ ai_provider: AI提供商,支持"deepseek"或"zhipu"
56
+
57
+ 返回:
58
+ 分析结果字典
59
+ """
60
+ analyzer = StockAnalyzer()
61
+ return analyzer.analyze_stock(symbol)
62
+
63
+