Skip to main content

Chatqiniu

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

快速开始

pip install -e ".[dev,docs]"
chatqiniu --version
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。

文档入口

开发验证

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

chatqiniu-0.2.1.tar.gz (16.8 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.1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chatqiniu-0.2.1.tar.gz
  • Upload date:
  • Size: 16.8 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.1.tar.gz
Algorithm Hash digest
SHA256 ad9f246b11939a6ed184c3e9252f9109d64e5728e11ec7fab82f2bb2512b5802
MD5 ec0a1d3166e34f0d63ccc7ceac2b27e7
BLAKE2b-256 c16c3903267cc63b5d5ed2ded1d3f41730240e74760648b1645bde2d8f547753

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatqiniu-0.2.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: chatqiniu-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 18.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f42504132f09b0a5ee7876462a29687b46ea4ea18ede0c9b7102603d540fb17f
MD5 034d581615c165c0e0973e9cc303266f
BLAKE2b-256 2b6982fe417bb6a460623ad3961ebf619063d996f6e0b2ad7398832e651f0a69

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatqiniu-0.2.1-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

0.2.3

2 files

0.2.2

2 files

This release

0.2.1 This release

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