Skip to main content

HengRoute CLI

HengRoute 命令行工具:测试调用、列模型、管 Key、查日志、看预算。

安装

pip install hengroute-cli

快速开始

# 1. 配置网关地址 + API Key(调用方)
hengroute configure --base-url https://gw.example.com --api-key sk-xxx

# 2. 测试调用(流式)
hengroute chat --model deepseek-chat --stream "你好"

# 3. 列出可用模型
hengroute models

# 管理后台操作(先登录,用管理账号)
hengroute login --email admin@example.com
hengroute keys --project 1
hengroute logs --project 1 --limit 20
hengroute budget --project 1

配置保存在 ~/.hengroute/config.json(权限 600)。

Metadata

Release files for hengroute-cli 0.4.1

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

Source distribution (sdist)

Source distribution for hengroute-cli 0.4.1
File Size Uploaded
hengroute_cli-0.4.1.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hengroute-cli 0.4.1
File Interpreter ABI Platform
hengroute_cli-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.2 kB

Release files / hengroute_cli-0.4.1.tar.gz

Download URL hengroute_cli-0.4.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
76975bc9f75fddca7dff81ffa6dc7f8f087629803a6361b8f5333628b3493a39
BLAKE2b-256 checksum
How to use checksums
5a620ad2d95e932944b27045289ec563e4f2e3fd710f619a47316d655fa3b085
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / hengroute_cli-0.4.1-py3-none-any.whl

Download URL hengroute_cli-0.4.1-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
794f7014987a5b8e0ed06c9a015e1492b4175f2dd4a5c25c72ab2e8d1c0723b0
BLAKE2b-256 checksum
How to use checksums
8ff2f8b9ea083ae637380e033bd07d464b3599ec772ccd4d2b8ab0f1d1e0fd68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

0.4.2

2 release files

This release

0.4.1 This release

2 release files

0.4.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