ChatHFD
ChatHFD 是 ChatArch 的 Hugging Face Download(HFD)工具包入口。当前包保持最小 root-only CLI,用于保留可安装、可发现、可发布的工具壳;实际下载编排能力尚未暴露为子命令。
快速开始
pip install ChatHFD
chathfd --help
chathfd --version
chathfd --tree
chathfd --tree-brief
当前 CLI 树(--tree)
chathfd
├── --help # Show this message and exit.
├── --version # Show the version and exit.
├── --tree # Print the registered CLI tree and exit.
└── --tree-brief # Print the registered CLI tree without parameter signatures and exit.
CLI 边界
- 当前 CLI 只有根选项,没有业务子命令。
--tree和--tree-brief由 ChatStyle 共享 Click tree runtime 从实际注册面生成,公开根名固定为chathfd。--tree默认保留命令参数签名;--tree-brief省略参数签名,但保留命令节点和描述。当前没有参数化子命令,因此两种模式显示同一组 root-only 节点。- 后续新增真实 HFD 下载、镜像、缓存或校验命令时,必须先更新 Click 注册面,再用真实
chathfd --tree和chathfd --tree-brief同步文档。
目录结构
src/:包源码tests/code-tests/:代码测试和历史测试迁移tests/cli-tests/:真实 CLI 测试,doc-firsttests/mock-cli-tests/:mock/fake CLI 测试,doc-firstdocs/:长期维护文档,由 MkDocs 构建
开发说明
扩展脚手架前,先阅读 DEVELOP.md 和 AGENTS.md。
Metadata
Release files for ChatHFD 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chathfd-0.1.2.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chathfd-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / chathfd-0.1.2.tar.gz
| Download URL | chathfd-0.1.2.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6fa80f23061cd117ea792591789ddff8ef074a96adddf44a0974ab2ad9e2b71e
|
|
BLAKE2b-256 checksum How to use checksums |
28d8ead9fa0bbedbe1c1edac44282a9de9d379685a9ea811fd31c34546153dbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / chathfd-0.1.2-py3-none-any.whl
| Download URL | chathfd-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
badc6716dfc7d43e4890798ac983bb76d9187c54a8cebed7633b8709f4623c88
|
|
BLAKE2b-256 checksum How to use checksums |
02fc32a342f02dcf812d77f9ea3923721b0be0ad4ec243f17aa2c512347f1df5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency log