astockevent 0.2.0__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.
@@ -0,0 +1,5 @@
1
+ """AStockEvent — A股公告结构化事件流.
2
+
3
+ 本公开子集包含:MCP Server + Event Schema + Web 看板。
4
+ 完整后端实现(Extractors / Pipeline / Case Library)见私有仓库。
5
+ """
@@ -0,0 +1,19 @@
1
+ """AStockEvent MCP Server — Model Context Protocol server for AI Agent consumption.
2
+
3
+ Provides 16 tools (via REST API proxy, zero local DB dependency).
4
+ See docs/api-contract.md for full tool listing.
5
+ All tools are read-only — no mutations, no side effects.
6
+
7
+ Usage:
8
+ python -m astockevent.mcp # Start MCP stdio server
9
+ astockevent-mcp # CLI entry point
10
+ """
11
+
12
+ import asyncio
13
+ import sys
14
+
15
+
16
+ def run() -> None:
17
+ """CLI entry point for ``astockevent-mcp`` command."""
18
+ from astockevent.mcp.stdio_server import main
19
+ sys.exit(asyncio.run(main()))
@@ -0,0 +1,7 @@
1
+ """Entry point for ``python -m astockevent.mcp``."""
2
+ import asyncio
3
+ import sys
4
+
5
+ if __name__ == "__main__":
6
+ from astockevent.mcp.stdio_server import main
7
+ sys.exit(asyncio.run(main()))