Chatqiniu
Chatqiniu 是 ChatArch 的七牛云命令行工具,覆盖 ChatEnv 鉴权、Kodo 对象存储、CDN、SSL 证书和 CDN 域名 HTTPS 配置。
- 文档站:https://arch.gh.wzhecnu.cn/Chatqiniu/
- 源码仓库:https://github.com/ChatArch/Chatqiniu
- 英文版:README.en.md
快速开始
pip install -e ".[dev,docs]"
chatqiniu --version
chatqiniu --tree
chatqiniu auth whoami --profile wzh
chatqiniu bucket list --profile wzh
python -m pytest -q
当前能力
| 场景 | 命令入口 | 说明 |
|---|---|---|
| 鉴权与 profile | auth、profile、config |
通过 ChatEnv 读写七牛凭证和默认 bucket / CDN 域名配置。 |
| Kodo 对象存储 | bucket、object、url |
查看 bucket、列对象、上传/下载、生成公开或私有 URL。 |
| CDN 操作 | cdn |
刷新、预取和查询 CDN 任务。 |
| 证书与 HTTPS | cert、domain https |
列出/上传证书,或把证书绑定到 CDN 域名。高影响写操作默认 dry-run。 |
| 诊断与文档 | doctor、docs |
本地配置检查、只读 API 健康检查和官方链接索引。 |
证书部署
cert deploy 会把本地 PEM 证书上传到七牛,再把返回的证书 ID 绑定到一个或多个 CDN 域名。命令默认只预览;真实执行必须显式加 --execute --yes。
chatqiniu cert deploy \
--profile wzh \
--name chatdns-wzhecnu-default-20261028 \
--cert-chain ~/.chatarch/certs/wzhecnu.cn/default/fullchain.pem \
--private-key ~/.chatarch/certs/wzhecnu.cn/default/privkey.pem \
--domain qiniu.wzhecnu.cn \
--domain qiniu-cdn.wzhecnu.cn \
--force-https \
--execute --yes
安全约定:命令输出不会打印证书正文、私钥、AccessKey 或 SecretKey。
文档入口
- 命令树:https://arch.gh.wzhecnu.cn/Chatqiniu/cli-tree/
- 能力地图:https://arch.gh.wzhecnu.cn/Chatqiniu/capability-map/
- 证书部署流程:https://arch.gh.wzhecnu.cn/Chatqiniu/certificate-workflow/
开发验证
python -m pytest -q
mkdocs build --strict
python -m build
python -m twine check dist/*
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chatqiniu-0.2.2.tar.gz.
File metadata
- Download URL: chatqiniu-0.2.2.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
339280fbeef89f9abdf53b8ceb67fbbe9484dc905fc9fe051956cb4ecb0ff8b6
|
|
| MD5 |
486d0652a43e223beef52df82639e1bc
|
|
| BLAKE2b-256 |
855e2a0e3bc8e75691cb1201a9dfd8113848ea294976136906e51a4e1de37cb7
|
Provenance
The following attestation bundles were made for chatqiniu-0.2.2.tar.gz:
Publisher:
publish.yml on ChatArch/Chatqiniu
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chatqiniu-0.2.2.tar.gz -
Subject digest:
339280fbeef89f9abdf53b8ceb67fbbe9484dc905fc9fe051956cb4ecb0ff8b6 - Sigstore transparency entry: 2421342673
- Sigstore integration time:
-
Permalink:
ChatArch/Chatqiniu@476eeaa419f6835c2aebe840bc54123ee552d9f5 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/ChatArch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@476eeaa419f6835c2aebe840bc54123ee552d9f5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file chatqiniu-0.2.2-py3-none-any.whl.
File metadata
- Download URL: chatqiniu-0.2.2-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b97c06e5bf52598359d3bc6a2b06122cb6e8a2a36083418f646d05973eb8d8eb
|
|
| MD5 |
d316ef1b84cf72026a78d8f28b4c08b3
|
|
| BLAKE2b-256 |
c2838ecec312f84fb56dfd749bb6e22fb37c31c44e909a963d11053b89431c10
|
Provenance
The following attestation bundles were made for chatqiniu-0.2.2-py3-none-any.whl:
Publisher:
publish.yml on ChatArch/Chatqiniu
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chatqiniu-0.2.2-py3-none-any.whl -
Subject digest:
b97c06e5bf52598359d3bc6a2b06122cb6e8a2a36083418f646d05973eb8d8eb - Sigstore transparency entry: 2421342772
- Sigstore integration time:
-
Permalink:
ChatArch/Chatqiniu@476eeaa419f6835c2aebe840bc54123ee552d9f5 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/ChatArch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@476eeaa419f6835c2aebe840bc54123ee552d9f5 -
Trigger Event:
push
-
Statement type: