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

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.2
File Size Uploaded
hengroute_cli-0.4.2.tar.gz 4.3 kB Details

Built distribution (wheel)

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

Total release size: 9.2 kB

Release files / hengroute_cli-0.4.2.tar.gz

Download URL hengroute_cli-0.4.2.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c09a9a44c5dac57345aeb457d68acb5d28d3879017281ec4d01eb2624c40c1a1
BLAKE2b-256 checksum
How to use checksums
48698fdca58a87a02712409c088838459b6f1f115add7718b704316faee18a6d
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.2-py3-none-any.whl

Download URL hengroute_cli-0.4.2-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9c5995ef398038de45e8eac4d2084aaff766cb270ab645b5718f06d4150d176
BLAKE2b-256 checksum
How to use checksums
f501bef660b891bcc16ea7210716da21a232b5c639ae3b2a37b012886acae150
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

This release

0.4.2 This release

2 release files

0.4.1

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