基于 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.5.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.5.tar.gz.
File metadata
- Download URL: gvitest_script-0.1.5.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 |
b1b97d9b7870e7d1665d4ae12c2e028c26bdddc4801cdcb11b9e99ed96738891
|
|
| MD5 |
1c582e700d444a21566630c50be2dfa3
|
|
| BLAKE2b-256 |
fb88de41395e6eb646e41c4d0027abe723b6cf88860976b0bd6d1b539b6db0ad
|
File details
Details for the file gvitest_script-0.1.5-py3-none-any.whl.
File metadata
- Download URL: gvitest_script-0.1.5-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 |
34d929609575ea82ac4bd70707f054452f59268252e07281464bd69302cd999c
|
|
| MD5 |
206bfbe591fdd7eaf64e8acdd73596f3
|
|
| BLAKE2b-256 |
79bb99373061974bb368272303d6b4e249b8c4b7ae570a78d155a60f0840d3ba
|