2026-07-21 11:05:57 +08:00
|
|
|
|
# ============================================================
|
|
|
|
|
|
# APS 智能体 · pip 依赖清单(与 pyproject.toml 保持一致)
|
|
|
|
|
|
# 用法:pip install -r requirements.txt
|
|
|
|
|
|
# ============================================================
|
|
|
|
|
|
fastapi>=0.115 # Web 框架:HTTP API + SSE
|
|
|
|
|
|
uvicorn[standard]>=0.30 # ASGI 服务器
|
|
|
|
|
|
httpx>=0.27 # 调用 DeepSeek/KIMI 的异步 HTTP 客户端
|
|
|
|
|
|
pydantic>=2.7 # 契约校验(意图/UI块/命令)
|
|
|
|
|
|
python-dotenv>=1.0 # .env 环境配置加载
|
|
|
|
|
|
pytest>=8.0 # 黄金测试
|
|
|
|
|
|
pytest-asyncio>=0.23 # 异步测试支持
|
2026-07-23 13:38:43 +08:00
|
|
|
|
ortools>=9.10 # SC-03 CP-SAT 求解器
|
2026-08-26 00:25:46 +08:00
|
|
|
|
scipy>=1.14 # SC-06 Sobol 全局敏感性
|
2026-07-23 13:38:43 +08:00
|
|
|
|
openpyxl>=3.1 # MD-04 Excel 导入 / 模板
|
|
|
|
|
|
python-multipart>=0.0.9 # FastAPI UploadFile(/api/import/preview)
|
2026-07-28 02:12:46 +08:00
|
|
|
|
pdfplumber>=0.11 # RAG:PDF 文本抽取
|
|
|
|
|
|
python-docx>=1.1 # RAG:docx 文本抽取
|
|
|
|
|
|
sqlalchemy>=2.0 # 租户化业务数据持久层(SQLite / MySQL)
|
|
|
|
|
|
alembic>=1.13 # 数据库版本迁移
|
|
|
|
|
|
pymysql>=1.1 # jms_mes MySQL 驱动
|
2026-08-11 00:54:05 +08:00
|
|
|
|
cryptography>=42 # 审计归档 AES-256-GCM 加密(round-43,与 pyproject 同步)
|
|
|
|
|
|
|
|
|
|
|
|
lxml>=5.0
|
|
|
|
|
|
|
|
|
|
|
|
# Engineering drawing DXF parsing and SVG preview
|
|
|
|
|
|
ezdxf>=1.4
|
|
|
|
|
|
fonttools>=4.50
|