chatrest
chatrest package
快速开始
pip install -e ".[dev]"
chatrest hello ChatArch
python -m pytest -q
python -m build
CLI 规范
这个模板默认依赖 chatstyle>=0.1.0 和 chatenv>=0.1.1,新的命令应优先使用:
CommandSchema/CommandField描述输入。add_interactive_option()提供统一-i/-I。resolve_command_inputs()统一缺参补问、默认值、TTY 与校验。
目录结构
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 chatrest 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chatrest-0.0.1.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chatrest-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.9 kB
Release files / chatrest-0.0.1.tar.gz
| Download URL | chatrest-0.0.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b4846a2e929c2d241d572fd2b4b4dc26bc2c529b5c939eff6493032ed97aab9
|
|
BLAKE2b-256 checksum How to use checksums |
0436d0ed9e8b9a4bfde75d057efef084ed50e2faeba9da60ed266cba2c3b5488
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / chatrest-0.0.1-py3-none-any.whl
| Download URL | chatrest-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88e71a76f73a304b60d7c3fef61f3a9b5750a27c9a27bcc775c49112520835d1
|
|
BLAKE2b-256 checksum How to use checksums |
47b86e0b08b474756ab8824fb33f70c99793fd8d289264c7289d568d2834e0b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|