Skip to main content

gherkai-runtime

gherkai 的运行时装配层:拉起两个 AI 引擎的 worker、解析云端资源名与网络、组装并推进一次 run,执行调度交给核心库 https://pypi.org/project/gherkai-core/ 。它是 gherkai 命令行与 AWS 部署包依赖的库,一般不直接安装——要运行测试请装命令行包 gherkai。要做另一个前端(Web 界面、自建调度服务、把执行嵌进现有平台)时才直接用它。

安装

uv add gherkai-runtime            # 或 pip install gherkai-runtime;需 Python ≥ 3.13
uv add 'gherkai-runtime[aws]'     # 用到云端后端(DynamoDB / S3 / Fargate)时需要

最小用法

from pathlib import Path
from gherkai_runtime import compose

features = [compose.load_feature(Path("features/checkout.feature"))]
engines = compose.build_engines(region="us-east-1")     # 本机 worker 子进程
resolver = compose.make_resolver(engines)
# 接着把 features 分组成 job、连同 resolver 交给 gherkai_core.schedule.schedule(...) 执行

分组到执行的完整用法见核心库的页面:https://pypi.org/project/gherkai-core/ 。

主要模块:

模块 提供什么
gherkai_runtime.compose 读 .feature、生成 run 身份、拉起本机或 Fargate 引擎 worker、选结果落点、解析云端资源名与网络、查引擎能力
gherkai_runtime.names 云端资源名、SSM 参数路径、worker 镜像 tag 的唯一命名实现
gherkai_runtime.detached / tunnel 提交后在本机后台把一个 run 推到完成;把本机可达的被测应用暴露给云端浏览器

引擎名是 novaact 与 midscene。运行时会启动 worker 子进程、读取环境变量、访问 AWS 服务,请在配好 AWS 凭证与 region 的环境里使用。云端资源需先由部署方执行 gherkai deploy 建好;调用方的版本不能新于已部署的后端(新于即拒绝执行),旧于时只提示、不拦——建议两侧保持同版本。

文档

项目主页与问题反馈:https://github.com/zhiyanliu/gherkai#readme

Metadata

Release files for gherkai-runtime 1.4.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gherkai-runtime 1.4.4
File Size Uploaded
gherkai_runtime-1.4.4.tar.gz 61.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gherkai-runtime 1.4.4
File Interpreter ABI Platform
gherkai_runtime-1.4.4-py3-none-any.whl Python 3 none any Details

Total release size: 124.9 kB

Release files / gherkai_runtime-1.4.4.tar.gz

Download URL gherkai_runtime-1.4.4.tar.gz
Size 61.6 kB
Tags Source
SHA-256 checksum
How to use checksums
01d26cda2af98abb5cc5f5da780d713780f165066237ff0713dfd1975658b517
BLAKE2b-256 checksum
How to use checksums
d3a7f03a4c84701541cd071a3593ade2f13e12e1d40a0d4075f32cae0fe81b33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / gherkai_runtime-1.4.4-py3-none-any.whl

Download URL gherkai_runtime-1.4.4-py3-none-any.whl
Size 63.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e99010a34e87049faf9f272134d16cec1b64144848b6f19e4c03f0149578a264
BLAKE2b-256 checksum
How to use checksums
ed0a4855f342f26f2389e014dac12d048c1ab535a1775988ecfa12e9b34c7e79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release history Release notifications | RSS feed

1.4.9

2 release files

1.4.8

2 release files

1.4.7

2 release files

1.4.6

2 release files

1.4.5

2 release files

This release

1.4.4 This release

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page