基于 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.2.tar.gz
(182.4 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.2.tar.gz.
File metadata
- Download URL: gvitest_script-0.1.2.tar.gz
- Upload date:
- Size: 182.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3813e558cc58785fdaeaebc42a45bf8a1ca5b62a2b7878ecde0ac7e30905bef
|
|
| MD5 |
2d9af6f1466f2cb5261d0e41c1d406fa
|
|
| BLAKE2b-256 |
dd3bf637be2a7752e1beff27c3f29ca36de0a5d333a1374e219360dd67537e4c
|
File details
Details for the file gvitest_script-0.1.2-py3-none-any.whl.
File metadata
- Download URL: gvitest_script-0.1.2-py3-none-any.whl
- Upload date:
- Size: 226.8 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 |
b30f056f91640660886eabde58ad0529f34ec35e794b05a81b775482e80353b8
|
|
| MD5 |
5f6db9e002e67435a1b643fe30324541
|
|
| BLAKE2b-256 |
2da8e75b77a64b136334a1b69c85833edcdeb3c40f20dd9f7e88b257c75b2a04
|