Skip to main content

ChatPyPI: ChatArch Python package lifecycle helper extracted from ChatTool.

Project description

ChatPyPI

ChatPyPI: ChatArch Python package lifecycle helper extracted from ChatTool.

快速开始

pip install -e ".[dev]"
chatpypi hello ChatArch
python -m pytest -q
python -m build

CLI 规范

这个模板默认依赖 chatstyle>=0.1.0,<0.2.0chatenv>=0.2.0,<0.3.0,新的命令应优先使用:

  • 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.mdAGENTS.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chatpypi-0.1.1.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chatpypi-0.1.1-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file chatpypi-0.1.1.tar.gz.

File metadata

  • Download URL: chatpypi-0.1.1.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for chatpypi-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e597a52277b5dd98a149cf27b62a76ced2b925f146059316a99ab0520a5da42a
MD5 7976fb61b9986e89f265a6954afeab06
BLAKE2b-256 2471ac520bb5539750fe8234a399134fb1737f23a9af09cdc894466ab44dabf5

See more details on using hashes here.

File details

Details for the file chatpypi-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: chatpypi-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for chatpypi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5a558f9d275677a2cb33892f7b168dcd47e9075b95b73ccb8251edde40ed0617
MD5 b34d3acd29c579670bd32beef1f41940
BLAKE2b-256 a199b8bc136915e02c0ee3e825e849d8a19dfefa68aa8894c410888e655fb0cf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page