ChatBoard 0.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
chatboard/__init__.py ADDED
@@ -0,0 +1,5 @@
1
+ """ChatBoard package."""
2
+
3
+ __all__ = ["__version__"]
4
+
5
+ __version__ = "0.0.1"
chatboard/cli.py ADDED
@@ -0,0 +1,17 @@
1
+ """CLI entrypoint for chatboard."""
2
+
3
+ import click
4
+
5
+ from chatboard import __version__
6
+
7
+
8
+ @click.group()
9
+ @click.version_option(__version__, prog_name="chatboard")
10
+ def main() -> None:
11
+ """chatboard command line interface."""
12
+ # Add package-specific commands here. Prefer ChatStyle helpers for
13
+ # interactive input when a command needs recoverable user input.
14
+
15
+
16
+ if __name__ == "__main__":
17
+ main()
chatboard/config.py ADDED
@@ -0,0 +1,27 @@
1
+ "Typed environment configuration for ChatBoard."
2
+
3
+ from chatenv import BaseEnvConfig, EnvField
4
+
5
+
6
+ class ChatboardConfig(BaseEnvConfig):
7
+ "ChatBoard ChatEnv configuration."
8
+
9
+ _title = "ChatBoard Configuration"
10
+ _aliases = ["chatboard"]
11
+ _storage_dir = "Chatboard"
12
+
13
+ @classmethod
14
+ def test(cls) -> None:
15
+ """Validate schema registration without external side effects."""
16
+
17
+ print(f"Testing {cls._title}...")
18
+ print("Schema loaded; no network test is required.")
19
+
20
+ CHATBOARD_API_KEY = EnvField(
21
+ "CHATBOARD_API_KEY",
22
+ desc="API key",
23
+ is_sensitive=True,
24
+ )
25
+
26
+
27
+ __all__ = ["ChatboardConfig"]
@@ -0,0 +1,79 @@
1
+ Metadata-Version: 2.4
2
+ Name: ChatBoard
3
+ Version: 0.0.1
4
+ Summary: ChatBoard: ChatArch kanban board tooling package placeholder
5
+ Author-email: ChatArch <1073853456@qq.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/ChatArch/ChatBoard
8
+ Project-URL: Repository, https://github.com/ChatArch/ChatBoard
9
+ Project-URL: Documentation, https://ChatArch.github.io/ChatBoard
10
+ Keywords: chatboard,chatarch,cli
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Operating System :: OS Independent
13
+ Requires-Python: >=3.10
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE
16
+ Requires-Dist: click>=8.0
17
+ Requires-Dist: chatstyle<0.2.0,>=0.1.0
18
+ Requires-Dist: chatenv<0.3.0,>=0.2.0
19
+ Provides-Extra: dev
20
+ Requires-Dist: build; extra == "dev"
21
+ Requires-Dist: pytest; extra == "dev"
22
+ Requires-Dist: twine; extra == "dev"
23
+ Provides-Extra: docs
24
+ Requires-Dist: mkdocs>=1.4.0; extra == "docs"
25
+ Requires-Dist: mkdocs-material>=9.0.0; extra == "docs"
26
+ Requires-Dist: mike>=2.0.0; extra == "docs"
27
+ Dynamic: license-file
28
+
29
+ <div align="center">
30
+ <a href="https://pypi.python.org/pypi/ChatBoard">
31
+ <img src="https://img.shields.io/pypi/v/ChatBoard.svg" alt="PyPI version" />
32
+ </a>
33
+ <a href="https://github.com/ChatArch/ChatBoard/actions/workflows/ci.yml">
34
+ <img src="https://github.com/ChatArch/ChatBoard/actions/workflows/ci.yml/badge.svg" alt="Tests" />
35
+ </a>
36
+ <a href="https://ChatArch.github.io/ChatBoard">
37
+ <img src="https://img.shields.io/badge/docs-mkdocs-blue.svg" alt="Documentation" />
38
+ </a>
39
+ </div>
40
+
41
+ <div align="center">
42
+
43
+ [English](README.en.md) | [简体中文](README.md)
44
+ </div>
45
+
46
+ # ChatBoard
47
+
48
+ ChatBoard: ChatArch kanban board tooling package placeholder
49
+
50
+ ## 快速开始
51
+
52
+ ```bash
53
+ pip install -e ".[dev]"
54
+ chatboard --help
55
+ chatboard --version
56
+ python -m pytest -q
57
+ python -m build
58
+ ```
59
+
60
+ ## CLI 规范
61
+
62
+ 这个模板默认依赖 `chatstyle>=0.1.0,<0.2.0` 和 `chatenv>=0.2.0,<0.3.0`,新的命令应优先使用:
63
+
64
+ - `CommandSchema` / `CommandField` 描述输入。
65
+ - `add_interactive_option()` 提供统一 `-i/-I`。
66
+ - `resolve_command_inputs()` 统一缺参补问、默认值、TTY 与校验。
67
+ - 默认生成 `config.py` 和 `chatenv.configs` entry point,使包可被 ChatEnv 发现;只有明确不需要 ChatEnv 接入时才使用 `--without-chatenv-provider`。
68
+
69
+ ## 目录结构
70
+
71
+ - `src/`:包源码
72
+ - `tests/code-tests/`:代码测试和历史测试迁移
73
+ - `tests/cli-tests/`:真实 CLI 测试,doc-first
74
+ - `tests/mock-cli-tests/`:mock/fake CLI 测试,doc-first
75
+ - `docs/`:长期维护文档,由 mkdocs 构建
76
+
77
+ ## 开发说明
78
+
79
+ 扩展脚手架前,先阅读 `DEVELOP.md` 和 `AGENTS.md`。
@@ -0,0 +1,9 @@
1
+ chatboard/__init__.py,sha256=RJoAgGyOsSYChMPqo0zDIGHPqqoV_0fH8XgJ1pBTmc0,75
2
+ chatboard/cli.py,sha256=TSZ_OeEeEA4fHG9PStZ1JETl6atJwJbLDvF8dJi1ocU,404
3
+ chatboard/config.py,sha256=atUyEOQIsxv2fG20-OlG0vnXBf4T5durpOxQVvgANZs,649
4
+ chatboard-0.0.1.dist-info/licenses/LICENSE,sha256=G-fJLQ4pkXXISE3qeN8J5Cw5VRoNongA0hbsHA9TRe8,1065
5
+ chatboard-0.0.1.dist-info/METADATA,sha256=LhX9wyX4KtZHMXjQ2fM852lbmseoavvbY-rHjuatkhY,2652
6
+ chatboard-0.0.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
7
+ chatboard-0.0.1.dist-info/entry_points.txt,sha256=7dqtMskwRW6u1ls_aECRfFSUwKj6QnxN-aox_bivfG0,97
8
+ chatboard-0.0.1.dist-info/top_level.txt,sha256=E40RlD4YMB0FL5M2nJF9GlQyY4vfbzTWUnRbNGglwh8,10
9
+ chatboard-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,5 @@
1
+ [chatenv.configs]
2
+ chatboard = chatboard.config
3
+
4
+ [console_scripts]
5
+ chatboard = chatboard.cli:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 ChatArch
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ chatboard