-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Expand file tree
/
Copy pathrequirements.txt
More file actions
90 lines (77 loc) · 1.71 KB
/
requirements.txt
File metadata and controls
90 lines (77 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# ========================================
# 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
motor>=3.3.0
redis>=4.6.0
SQLAlchemy==2.0.35
asyncpg==0.29.0
psycopg[binary]>=3.1.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
xhshow>=0.1.3
# ===== 可视化 =====
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
sentence-transformers>=2.2.2
scikit-learn>=1.3.0
xgboost>=2.0.0
# NOTE:如果要安装GPU版本的torch,指令为pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu126
# ===== 工具库 =====
typer>=0.9.0
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