基于 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.4.tar.gz
(183.5 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.4.tar.gz.
File metadata
- Download URL: gvitest_script-0.1.4.tar.gz
- Upload date:
- Size: 183.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f334c262c8851ba1fb232e9a497ef3dee4c0108dc9721d72c69aca3a2a0f91d1
|
|
| MD5 |
afa5ca5a19f33c221671be6612d8e3cd
|
|
| BLAKE2b-256 |
fb23feda70d3f7595be6915cd942303016ad01e7ccbe51b56aa41b7ed784dc17
|
File details
Details for the file gvitest_script-0.1.4-py3-none-any.whl.
File metadata
- Download URL: gvitest_script-0.1.4-py3-none-any.whl
- Upload date:
- Size: 229.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 |
ccdcef101ccf0d427a970dfc3ae5497b2341f781284d394bfa5fcc4bd8fc7b90
|
|
| MD5 |
222c2e399a259e365ba3510b5ec2026f
|
|
| BLAKE2b-256 |
6e280ab9b8ff8d4142d57df2f677313d0edebadcf041dc6d0c40a5cfecdd497d
|