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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hengroute_cli-0.4.0.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hengroute_cli-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / hengroute_cli-0.4.0.tar.gz
| Download URL | hengroute_cli-0.4.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
371460c5354f9d2bb58d38cb42aa5f656f181fe81fe9d579aa5576763d340abf
|
|
BLAKE2b-256 checksum How to use checksums |
96f0473fc796a8aa7735e490c0768620409328392d0d442128e4b1187b0d042d
|
| 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.0-py3-none-any.whl
| Download URL | hengroute_cli-0.4.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
601f8be9c2da187381db528778f33bbe7880b2c61b1eebfda33bc67ca4e0ca93
|
|
BLAKE2b-256 checksum How to use checksums |
fd163f2ee17b9a95eec6a125e99f678c137f328d96765fb4db52809aedf0aeb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|