ChatMail
ChatArch mail tooling package.
文档入口:https://arch.gh.wzhecnu.cn/ChatMail/
按场景选择文档:
| 场景 | 文档 |
|---|---|
| 第一次安装、运行命令行、确认包可用 | CLI 树 |
| 校对当前包有哪些一等能力和边界 | 能力地图 |
| 从 Python 代码调用包能力 | 接口树 |
快速开始
pip install -e ".[dev]"
chatmail --help
chatmail --version
chatmail --tree
chatmail --tree-brief
python -m pytest -q
python -m build
当前 CLI 树
ChatMail 使用共享的 chatstyle.add_tree_option() 从真实注册的 Click command surface 生成完整和简洁命令树。当前 CLI 是 root-only,因此两个视图的节点相同。
chatmail
├── --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.
命令行规范
ChatMail 当前保留 root-only CLI 和 ChatEnv typed 配置发现入口。CLI 固定使用 chatstyle>=0.2.0,<0.3.0,配置入口使用 chatenv>=0.2.10,<0.3.0 与 ChatEnv 管理的存储路径。新增交互式命令时,应使用 ChatStyle 的 CommandSchema / CommandField、add_interactive_option() 与 resolve_command_inputs();没有真实交互命令前,不暴露 scaffold/demo 子命令。
目录结构
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 ChatMail 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 | |
|---|---|---|---|
| chatmail-0.1.2.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chatmail-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.3 kB
Release files / chatmail-0.1.2.tar.gz
| Download URL | chatmail-0.1.2.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1712e58f6a0cb0139c2c7a6b9d489de7dfe970ed869b9d277293426c9ff2392
|
|
BLAKE2b-256 checksum How to use checksums |
6e061596a125eb68582b9d3c1c09e84b2d0aac52f967bd7f9553a55a9fe11957
|
| 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 / chatmail-0.1.2-py3-none-any.whl
| Download URL | chatmail-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9271327fc3ea208a6eea19d972c08d77df1e4e5f4fceee77f558d6893543c060
|
|
BLAKE2b-256 checksum How to use checksums |
ac9b9e184f01aad5c67a4e36d6904bfe06ee1a6b3bae28308430494600819f8c
|
| 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