Files
make2/factory_sliceing
2025-12-19 16:55:17 +08:00
..
v3
2025-12-19 16:51:28 +08:00
v3
2025-12-19 16:55:17 +08:00
v2
2025-12-19 16:15:31 +08:00
222
2025-12-12 09:43:13 +08:00
2025-12-10 11:39:10 +08:00
2025-12-16 19:03:37 +08:00
2025-12-10 17:14:34 +08:00
2025-12-19 11:29:26 +08:00
2025-12-16 19:03:37 +08:00
2025-12-16 19:03:37 +08:00
2025-12-16 19:03:37 +08:00
2025-12-10 17:14:34 +08:00
2025-12-11 17:04:22 +08:00
2025-12-11 18:11:55 +08:00
2025-12-16 17:02:04 +08:00
2025-12-16 17:02:04 +08:00
2025-12-16 17:02:04 +08:00

Factory Sliceing 项目

安装依赖

在运行项目之前,需要先安装依赖:

# 使用 pip 安装
pip install -r requirements.txt

# 或者使用 pip3
pip3 install -r requirements.txt

# 或者使用 python -m pip
python -m pip install -r requirements.txt

主要依赖

  • toml - 配置文件解析(必需)
  • redis - Redis 客户端
  • oss2 - 阿里云 OSS 客户端
  • requests - HTTP 请求库
  • uiautomation - UI 自动化(Windows)
  • pywin32 - Windows API(仅 Windows 系统需要)
  • minio - MinIO 客户端(如果使用)

快速开始

  1. 安装依赖

    pip install -r requirements.txt
    
  2. 配置配置文件

    • 复制 config.example.toml 为 config.toml
    • 根据实际情况修改配置
  3. 运行程序

    python main.py <command> [work_dir]
    

打包为 exe

详见 README_BUILD.md