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 Provenance Actions
hengroute_cli-0.4.2.tar.gz 4.3 kB Without provenance Details for hengroute_cli-0.4.2.tar.gz

Built distribution (wheel)

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

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

Security for hengroute-cli 0.4.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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