基于 Jinja2 模板引擎的自动化脚本生成系统,支持 Agent/Manual 双模式执行、控制流、条件表达式和预期结果验证
Project description
Gvitest Script - 自动化脚本生成器
基于 Jinja2 模板引擎的自动化脚本生成系统,支持 Agent/Manual 双模式执行、控制流、条件表达式和预期结果验证。
🚀 快速开始
1. 安装
# 从 PyPI 安装(推荐)
pip install gvitest-script
# 或从源码安装
git clone <repository-url>
cd script_server
uv sync
source .venv/bin/activate
2. 启动
# 使用默认配置启动
gvitest-script
3. 文件服务器配置
默认文件服务器URL:http://localhost:8080
# 使用默认文件服务器(推荐)
gvitest-script
# 自定义文件服务器URL
gvitest-script --file-server-url http://{FILE_SERVER_URL}
# 通过环境变量设置文件服务器
export FILE_SERVER_URL=http://localhost:3000
gvitest-script
# 本地模式(不支持文件服务器的下载和上传,使用和返回本地文件)
gvitest-script --file-server-url ""
4. 工作空间配置
默认工作空间路径:项目目录/script_workspace
# 使用默认工作空间(推荐)
gvitest-script
# 自定义工作空间路径
gvitest-script --workspace /path/to/custom/workspace
# 通过环境变量设置工作空间
export WORKSPACE_PATH=/path/to/custom/workspace
gvitest-script
📦 PyPI 包信息
- 包名:
gvitest-script - 版本:
0.1.0 - PyPI: https://pypi.org/project/gvitest-script/
- 安装:
pip install gvitest-script
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gvitest_script-0.1.3.tar.gz
(185.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gvitest_script-0.1.3.tar.gz.
File metadata
- Download URL: gvitest_script-0.1.3.tar.gz
- Upload date:
- Size: 185.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67152904a366beb31f479272f8faddccf54ca14ff3cadf0c44d87e9c19a6f65c
|
|
| MD5 |
f5e1ce2bbc43a7da6d29cf57900d268e
|
|
| BLAKE2b-256 |
76d1c7be0accb72a9f450e66f1387ef60f50b0dd907b745a13fccb88f514bfd3
|
File details
Details for the file gvitest_script-0.1.3-py3-none-any.whl.
File metadata
- Download URL: gvitest_script-0.1.3-py3-none-any.whl
- Upload date:
- Size: 231.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae4c4344a6b4164551e1538bc9a16e674f9d72456e5be4d7464060181af33d82
|
|
| MD5 |
911bb8824f728df7fe5961dbf968bc01
|
|
| BLAKE2b-256 |
2df38a0716005472b5a2fc96f536c653d4b7e077fc4d356bb22b1309a0370029
|