chatsite
ChatSite package scaffold.
快速开始
pip install -e ".[dev]"
chatsite --help
chatsite --version
python -m pytest -q
python -m build
CLI 规范
这个模板默认依赖 chatstyle>=0.1.0,<0.2.0 和 chatenv>=0.2.0,<0.3.0,新的命令应优先使用:
CommandSchema/CommandField描述输入。add_interactive_option()提供统一-i/-I。resolve_command_inputs()统一缺参补问、默认值、TTY 与校验。- 默认生成
config.py和chatenv.configsentry point,使包可被 ChatEnv 发现;只有明确不需要 ChatEnv 接入时才使用--without-chatenv-provider。
目录结构
src/:包源码tests/code-tests/:代码测试和历史测试迁移tests/cli-tests/:真实 CLI 测试,doc-firsttests/mock-cli-tests/:mock/fake CLI 测试,doc-first
开发说明
扩展脚手架前,先阅读 DEVELOP.md 和 AGENTS.md。
Metadata
Release files for ChatSite 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chatsite-0.1.0.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chatsite-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / chatsite-0.1.0.tar.gz
| Download URL | chatsite-0.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3bbd67addcedf9a13dea2d45566cba177e7f881caf66709e82d3af291cf52aa
|
|
BLAKE2b-256 checksum How to use checksums |
43c64fd7ec2d0735fd2a7dc52f8c10835a933cb343374b629004681d02c0152d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 28, 2026.
Transparency logRelease files / chatsite-0.1.0-py3-none-any.whl
| Download URL | chatsite-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
920792eb9ea7aed3a385cf68e9bf058c12339acaf2e92c39b38f0fc0160c1d1a
|
|
BLAKE2b-256 checksum How to use checksums |
8cf97589e14b83cb37875856a13e929c16748daa4d60f8019e1dd199fd6c794a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 28, 2026.
Transparency log