initial-import: 2026-04-11 21:18:55
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
# 基础依赖 - 大文件、低频变更
|
||||
# 按照方案:这些包很少变化,会被Docker长期缓存
|
||||
|
||||
# 核心框架
|
||||
vnpy>=4.0.0
|
||||
|
||||
# 核心科学计算
|
||||
numpy>=2.0.0
|
||||
pandas>=2.0.0
|
||||
scipy>=1.14.0
|
||||
|
||||
# 可视化
|
||||
matplotlib>=3.9.0
|
||||
seaborn>=0.13.0
|
||||
plotly>=5.20.0
|
||||
|
||||
# 机器学习
|
||||
scikit-learn>=1.5.0
|
||||
lightgbm>=4.5.0
|
||||
xgboost>=2.1.0
|
||||
|
||||
# 量化工具
|
||||
TA-Lib>=0.6.0
|
||||
|
||||
# 工具库
|
||||
python-dotenv>=1.0.0
|
||||
sqlalchemy>=2.0.0
|
||||
loguru>=0.7.0
|
||||
pydantic-settings>=2.0.0
|
||||
cryptography>=41.0.0
|
||||
|
||||
# HTTP/网络
|
||||
requests>=2.32.0
|
||||
aiohttp>=3.9.0
|
||||
websockets>=12.0
|
||||
|
||||
# Web框架
|
||||
fastapi>=0.100.0
|
||||
uvicorn>=0.20.0
|
||||
python-multipart>=0.0.6
|
||||
pydantic>=2.0.0
|
||||
httpx>=0.27.0
|
||||
httpcore>=1.0.0
|
||||
|
||||
# 测试
|
||||
pytest>=8.0.0
|
||||
|
||||
# Jupyter生态
|
||||
jupyterlab>=4.0.0
|
||||
voila>=0.5.0
|
||||
|
||||
# 数据库(可选)
|
||||
psycopg2-binary>=2.9.0
|
||||
@@ -0,0 +1,13 @@
|
||||
# 额外依赖 - 小文件、高频变更
|
||||
# 按照方案:频繁更新或需要测试的新包放在这里
|
||||
# 这里变更只会重新构建这一层,不会影响基础依赖缓存
|
||||
|
||||
# 数据接口(频繁更新)
|
||||
akshare>=1.0.0
|
||||
tushare>=1.2.0
|
||||
|
||||
# 调试工具
|
||||
debugpy>=1.8.0
|
||||
|
||||
# Jupyter组件
|
||||
ipywidgets>=8.0.0
|
||||
@@ -0,0 +1,40 @@
|
||||
# 完整依赖列表 - 兼容旧配置
|
||||
# 此文件 = requirements-base.txt + requirements-extra.txt
|
||||
# 分层构建请查看 Dockerfile,使用分层缓存机制
|
||||
|
||||
# 基础依赖 - 大文件、低频变更
|
||||
vnpy>=4.0.0
|
||||
numpy>=2.0.0
|
||||
pandas>=2.0.0
|
||||
scipy>=1.14.0
|
||||
matplotlib>=3.9.0
|
||||
seaborn>=0.13.0
|
||||
plotly>=5.20.0
|
||||
scikit-learn>=1.5.0
|
||||
lightgbm>=4.5.0
|
||||
xgboost>=2.1.0
|
||||
TA-Lib>=0.6.0
|
||||
python-dotenv>=1.0.0
|
||||
sqlalchemy>=2.0.0
|
||||
loguru>=0.7.0
|
||||
pydantic-settings>=2.0.0
|
||||
cryptography>=41.0.0
|
||||
requests>=2.32.0
|
||||
aiohttp>=3.9.0
|
||||
websockets>=12.0
|
||||
fastapi>=0.100.0
|
||||
uvicorn>=0.20.0
|
||||
python-multipart>=0.0.6
|
||||
pydantic>=2.0.0
|
||||
httpx>=0.27.0
|
||||
httpcore>=1.0.0
|
||||
pytest>=8.0.0
|
||||
jupyterlab>=4.0.0
|
||||
voila>=0.5.0
|
||||
psycopg2-binary>=2.9.0
|
||||
|
||||
# 额外依赖 - 小文件、高频变更
|
||||
akshare>=1.0.0
|
||||
tushare>=1.2.0
|
||||
debugpy>=1.8.0
|
||||
ipywidgets>=8.0.0
|
||||
Reference in New Issue
Block a user