Files
Gitcloned-BettaFish/requirements.txt
2025-11-21 05:32:35 +08:00

86 lines
1.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ========================================
# Weibo舆情分析多智能体系统依赖包
# 适用于Windows环境 + Conda部署
# ========================================
# ===== 核心Web框架 =====
flask==2.3.3
flask-socketio==5.3.6
streamlit==1.28.1
python-socketio==5.8.0
eventlet==0.33.3
# ===== HTTP请求和异步 =====
requests==2.31.0
httpx==0.28.1
socksio==1.0.0
aiofiles==23.2.1
aiohttp>=3.8.0
PySocks>=1.7.1
# ===== LLM接口 =====
openai>=1.3.0
# deepseek-ai>=0.1.0 # 使用OpenAI格式
# ===== 搜索API =====
tavily-python>=0.3.0
# ===== 数据处理 =====
pandas>=2.0.0
numpy>=1.24.0
regex>=2023.8.8
jieba==0.42.1
# ===== 数据库 =====
pymysql==1.1.0
aiomysql==0.2.0
aiosqlite==0.21.0
redis>=4.6.0
SQLAlchemy==2.0.35
asyncpg==0.29.0
cryptography==42.0.7
# ===== 爬虫相关 =====
playwright==1.45.0
Pillow==9.5.0
opencv-python>=4.8.0
beautifulsoup4>=4.12.0
lxml>=4.9.0
parsel==1.9.1
pyexecjs==1.5.1
# ===== 可视化 =====
plotly>=5.17.0
matplotlib==3.9.0
wordcloud==1.9.3
# ===== PDF生成 =====
weasyprint>=60.0 # PDF导出支持Python 3.9-3.13
# ===== 机器学习(可选,用于情感分析,不安装也没事写了容错程序) =====
torch>=2.0.0 # CPU版本
transformers>=4.30.0
scikit-learn>=1.3.0
xgboost>=2.0.0
# NOTE如果要安装GPU版本的torch指令为pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu126
# ===== 工具库 =====
python-dotenv>=1.0.0
python-dateutil>=2.8.2
pytz>=2023.3
tqdm>=4.65.0
tenacity==8.2.2
loguru>=0.7.0
pydantic==2.5.2
pydantic-settings==2.2.1
json-repair==0.53.0
# ===== 开发工具(可选) =====
pytest>=7.4.0
black>=23.0.0
flake8>=6.0.0
# ===== Web服务器 =====
fastapi==0.110.2
uvicorn==0.29.0