Skip to main content

chatpet

chatpet package

快速开始

pip install -e ".[dev]"
chatpet 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-first
  • tests/mock-cli-tests/:mock/fake CLI 测试,doc-first
  • docs/:长期维护文档,由 mkdocs 构建

开发说明

扩展脚手架前,先阅读 DEVELOP.md 和 AGENTS.md。

Metadata

Release files for chatpet 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chatpet 0.0.1
File Size Uploaded
chatpet-0.0.1.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chatpet 0.0.1
File Interpreter ABI Platform
chatpet-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / chatpet-0.0.1.tar.gz

Download URL chatpet-0.0.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c5ce7ffa7578a2662bbbe5a16b69dff131d52c7d7a907dce26cbabffe65375df
BLAKE2b-256 checksum
How to use checksums
a163f4efbf49d8261b67b32d47bbb18a91819d8aed3faa6ac9129181a737a911
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / chatpet-0.0.1-py3-none-any.whl

Download URL chatpet-0.0.1-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06c38573f0c7de0f29958c1d92bc35efa8c7652f90a8bef0596d6cd024043dca
BLAKE2b-256 checksum
How to use checksums
a6f578f07e0d4a618b30c7ce8f83f2a9fbe19586b4eeaf0a0407518c1be08852
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page