Skip to main content

Chatqiniu

Chatqiniu 是 ChatArch 的七牛云命令行工具,覆盖 ChatEnv 鉴权、Kodo 对象存储、CDN、SSL 证书和 CDN 域名 HTTPS 配置。

快速开始

pip install -e ".[dev,docs]"
chatqiniu --version
chatqiniu --tree
chatqiniu --tree-brief
chatqiniu auth whoami --profile wzh
chatqiniu bucket list --profile wzh
python -m pytest -q

当前能力

场景 命令入口 说明
鉴权与 profile authprofileconfig 通过 ChatEnv 读写七牛凭证和默认 bucket / CDN 域名配置。
Kodo 对象存储 bucketobjecturl 查看 bucket、列对象、上传/下载、生成公开或私有 URL。
CDN 操作 cdn 刷新、预取和查询 CDN 任务。
证书与 HTTPS certdomain https 列出/上传证书,或把证书绑定到 CDN 域名。高影响写操作默认 dry-run。
诊断与文档 doctordocs 本地配置检查、只读 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。

文档入口

chatqiniu --tree 由 ChatStyle 从真实 Click 注册表渲染并保留参数签名;chatqiniu --tree-brief 保留相同节点和用途说明,但省略参数签名。

开发验证

python -m pytest -q
mkdocs build --strict
python -m build
python -m twine check dist/*
chatqiniu --version
chatqiniu --tree
chatqiniu --tree-brief
git diff --check

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chatqiniu-0.2.3.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chatqiniu-0.2.3-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file chatqiniu-0.2.3.tar.gz.

File metadata

  • Download URL: chatqiniu-0.2.3.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for chatqiniu-0.2.3.tar.gz
Algorithm Hash digest
SHA256 15fbdf5df64dca8d53477c6c49ae7933ce71a611e3ee86ef1801a497db747669
MD5 8ae7c377d2c01ee63da663b2dcfd2b98
BLAKE2b-256 99697679ba83f6062f75f2c98188bcf7ac252388f01c9612c3b22e4f9c96334d

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatqiniu-0.2.3.tar.gz:

Publisher: publish.yml on ChatArch/Chatqiniu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chatqiniu-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: chatqiniu-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for chatqiniu-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 17c72b6888fc20910dd9f637d73a433430fea01bf75e4a0388e3080a002a2a8c
MD5 624ba8f7d15e7ec515d88797d4f2e055
BLAKE2b-256 f3f291d2db7076431af5bf0b73e24eae5564372126e01252b0097c26c7b38057

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatqiniu-0.2.3-py3-none-any.whl:

Publisher: publish.yml on ChatArch/Chatqiniu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page