Skip to main content

chatrest package

Project description

chatrest

chatrest package

快速开始

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

CLI 规范

这个模板默认依赖 chatstyle>=0.1.0chatenv>=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.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

chatrest-0.0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

chatrest-0.0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file chatrest-0.0.1.tar.gz.

File metadata

  • Download URL: chatrest-0.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for chatrest-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4b4846a2e929c2d241d572fd2b4b4dc26bc2c529b5c939eff6493032ed97aab9
MD5 f8dd9e202a2aaf5bc2a9380d23f0f554
BLAKE2b-256 0436d0ed9e8b9a4bfde75d057efef084ed50e2faeba9da60ed266cba2c3b5488

See more details on using hashes here.

File details

Details for the file chatrest-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: chatrest-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for chatrest-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88e71a76f73a304b60d7c3fef61f3a9b5750a27c9a27bcc775c49112520835d1
MD5 1aba5b6304b6e00aa0788e96d4e75063
BLAKE2b-256 47b86e0b08b474756ab8824fb33f70c99793fd8d289264c7289d568d2834e0b2

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