Skip to main content

ChatLean: lightweight ChatArch package scaffold.

Project description

ChatLean

ChatLean: lightweight ChatArch package scaffold.

快速开始

pip install -e ".[dev]"
chatlean --help
chatlean --version
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 与校验。
  • 默认生成 config.pychatenv.configs entry point,使包可被 ChatEnv 发现;只有明确不需要 ChatEnv 接入时才使用 --without-chatenv-provider

目录结构

  • src/:包源码
  • tests/code-tests/:代码测试和历史测试迁移
  • tests/cli-tests/:真实 CLI 测试,doc-first
  • tests/mock-cli-tests/:mock/fake CLI 测试,doc-first

开发说明

扩展脚手架前,先阅读 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

chatlean-0.0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

chatlean-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for chatlean-0.0.1.tar.gz
Algorithm Hash digest
SHA256 015183ad18d4df36ef0f978e56eeebe4a6c62a4398efdc0e9c177fb2a18c0287
MD5 8499f05c93488220d8ec9df3165b7d93
BLAKE2b-256 fe083c50aaaa6ccc45ea34073d894e8e68f1a4a833dc7853932a8273cd177223

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for chatlean-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bbac9748168fb116092b35f544e35f2b45105fa9984e1ffbff91b04a8ec80a58
MD5 d01ed03cb35ff5f3796ffde4a8eaed3d
BLAKE2b-256 3565a7cbf7e354bff6e65d1930b3a33bd5252275663e792385912eb280631dbf

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