-
Notifications
You must be signed in to change notification settings - Fork 119
Expand file tree
/
Copy pathrequirements.txt
More file actions
47 lines (44 loc) · 1.95 KB
/
Copy pathrequirements.txt
File metadata and controls
47 lines (44 loc) · 1.95 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
# ============================================
# MTools 项目依赖清单
# ============================================
#
# 推荐使用 uv 来管理依赖(更快更可靠):
# uv sync
#
# 如果使用传统 pip:
# pip install -r requirements.txt
#
# 注意:本文件从 pyproject.toml 同步
# 主要依赖配置请编辑 pyproject.toml
# ============================================
flet==0.84.0
ffmpeg-python==0.2.0
Pillow==12.0.0
chardet==5.2.0
opencv-python-headless==4.11.0.86
numpy==1.26.4
# ONNX Runtime - AI 功能 GPU 加速
# 使用平台标记自动选择合适的版本
onnxruntime-directml==1.24.4 ; sys_platform == 'win32' # Windows DirectML GPU 加速
onnxruntime==1.24.4 ; sys_platform == 'linux' # Linux (可手动改为 onnxruntime-gpu)
onnxruntime>=1.22.0 ; sys_platform == 'darwin' # macOS (1.24.4 无 x86_64 wheel,用 >=1.22 兼容 universal build)
# 完整加速独立环境,无需用户手动配置cuda和cudnn,直接使用onnxruntime-gpu[cuda,cudnn]==1.16.1即可,但是会导致依赖包体积增大,不推荐使用
websockets==12.0 # 避免弃用警告,等待 flet 更新
qrcode[pil]==7.4.2
sherpa-onnx==1.12.35 # 语音识别
pyclipper==1.4.0 # OCR 文本框扩展
shapely==2.1.2 # OCR 几何运算
httpx[socks]==0.28.1
dnspython==2.8.0 # DNS查询工具
PyYAML==6.0.2 # YAML 解析
xmltodict==0.14.2 # XML 解析
pycryptodome==3.21.0 # 加密算法库
sqlparse==0.5.3 # SQL格式化
croniter==5.0.1 # Cron表达式解析
tomli-w==1.1.0 # TOML 写入支持(Python 3.11+ 内置 tomllib 只支持读取)
pystray==0.19.5
psutil==6.1.1 # 系统和进程工具(用于自动更新)
pywin32>=311 ; sys_platform == 'win32' # Windows 专用(全局热键、COM等)
cryptography>=44.0.0 # 配置加密存储(flet.security 依赖)
flet-gpt-markdown # Markdown LaTeX 渲染扩展(本地扩展包,uv 通过 [tool.uv.sources] 解析路径)
# windnd 已移除 - 使用内置的窗口子类化方式实现拖放