ChatBoard 0.0.1__tar.gz

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.
@@ -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,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,51 @@
1
+ <div align="center">
2
+ <a href="https://pypi.python.org/pypi/ChatBoard">
3
+ <img src="https://img.shields.io/pypi/v/ChatBoard.svg" alt="PyPI version" />
4
+ </a>
5
+ <a href="https://github.com/ChatArch/ChatBoard/actions/workflows/ci.yml">
6
+ <img src="https://github.com/ChatArch/ChatBoard/actions/workflows/ci.yml/badge.svg" alt="Tests" />
7
+ </a>
8
+ <a href="https://ChatArch.github.io/ChatBoard">
9
+ <img src="https://img.shields.io/badge/docs-mkdocs-blue.svg" alt="Documentation" />
10
+ </a>
11
+ </div>
12
+
13
+ <div align="center">
14
+
15
+ [English](README.en.md) | [简体中文](README.md)
16
+ </div>
17
+
18
+ # ChatBoard
19
+
20
+ ChatBoard: ChatArch kanban board tooling package placeholder
21
+
22
+ ## 快速开始
23
+
24
+ ```bash
25
+ pip install -e ".[dev]"
26
+ chatboard --help
27
+ chatboard --version
28
+ python -m pytest -q
29
+ python -m build
30
+ ```
31
+
32
+ ## CLI 规范
33
+
34
+ 这个模板默认依赖 `chatstyle>=0.1.0,<0.2.0` 和 `chatenv>=0.2.0,<0.3.0`,新的命令应优先使用:
35
+
36
+ - `CommandSchema` / `CommandField` 描述输入。
37
+ - `add_interactive_option()` 提供统一 `-i/-I`。
38
+ - `resolve_command_inputs()` 统一缺参补问、默认值、TTY 与校验。
39
+ - 默认生成 `config.py` 和 `chatenv.configs` entry point,使包可被 ChatEnv 发现;只有明确不需要 ChatEnv 接入时才使用 `--without-chatenv-provider`。
40
+
41
+ ## 目录结构
42
+
43
+ - `src/`:包源码
44
+ - `tests/code-tests/`:代码测试和历史测试迁移
45
+ - `tests/cli-tests/`:真实 CLI 测试,doc-first
46
+ - `tests/mock-cli-tests/`:mock/fake CLI 测试,doc-first
47
+ - `docs/`:长期维护文档,由 mkdocs 构建
48
+
49
+ ## 开发说明
50
+
51
+ 扩展脚手架前,先阅读 `DEVELOP.md` 和 `AGENTS.md`。
@@ -0,0 +1,42 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "ChatBoard"
7
+ dynamic = ["version"]
8
+ description = "ChatBoard: ChatArch kanban board tooling package placeholder"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = "MIT"
12
+ dependencies = ["click>=8.0", "chatstyle>=0.1.0,<0.2.0", "chatenv>=0.2.0,<0.3.0"]
13
+ authors = [{name = "ChatArch", email = "1073853456@qq.com"}]
14
+ keywords = ["chatboard", "chatarch", "cli"]
15
+ classifiers = [
16
+ "Programming Language :: Python :: 3",
17
+ "Operating System :: OS Independent",
18
+ ]
19
+
20
+ [project.urls]
21
+ Homepage = "https://github.com/ChatArch/ChatBoard"
22
+ Repository = "https://github.com/ChatArch/ChatBoard"
23
+ Documentation = "https://ChatArch.github.io/ChatBoard"
24
+
25
+ [project.scripts]
26
+ chatboard = "chatboard.cli:main"
27
+
28
+ [project.entry-points."chatenv.configs"]
29
+ chatboard = "chatboard.config"
30
+
31
+ [project.optional-dependencies]
32
+ dev = ["build", "pytest", "twine"]
33
+ docs = ["mkdocs>=1.4.0", "mkdocs-material>=9.0.0", "mike>=2.0.0"]
34
+
35
+ [tool.setuptools.dynamic]
36
+ version = {attr = "chatboard.__version__"}
37
+
38
+ [tool.setuptools.packages.find]
39
+ where = ["src"]
40
+
41
+ [tool.setuptools]
42
+ include-package-data = true
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -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,14 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/ChatBoard.egg-info/PKG-INFO
5
+ src/ChatBoard.egg-info/SOURCES.txt
6
+ src/ChatBoard.egg-info/dependency_links.txt
7
+ src/ChatBoard.egg-info/entry_points.txt
8
+ src/ChatBoard.egg-info/requires.txt
9
+ src/ChatBoard.egg-info/top_level.txt
10
+ src/chatboard/__init__.py
11
+ src/chatboard/cli.py
12
+ src/chatboard/config.py
13
+ tests/test_cli.py
14
+ tests/test_version.py
@@ -0,0 +1,5 @@
1
+ [chatenv.configs]
2
+ chatboard = chatboard.config
3
+
4
+ [console_scripts]
5
+ chatboard = chatboard.cli:main
@@ -0,0 +1,13 @@
1
+ click>=8.0
2
+ chatstyle<0.2.0,>=0.1.0
3
+ chatenv<0.3.0,>=0.2.0
4
+
5
+ [dev]
6
+ build
7
+ pytest
8
+ twine
9
+
10
+ [docs]
11
+ mkdocs>=1.4.0
12
+ mkdocs-material>=9.0.0
13
+ mike>=2.0.0
@@ -0,0 +1 @@
1
+ chatboard
@@ -0,0 +1,5 @@
1
+ """ChatBoard package."""
2
+
3
+ __all__ = ["__version__"]
4
+
5
+ __version__ = "0.0.1"
@@ -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()
@@ -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,11 @@
1
+ from click.testing import CliRunner
2
+
3
+ from chatboard import __version__
4
+ from chatboard.cli import main
5
+
6
+
7
+ def test_version_option_reports_package_version():
8
+ result = CliRunner().invoke(main, ["--version"])
9
+
10
+ assert result.exit_code == 0
11
+ assert f"chatboard, version {__version__}" in result.output
@@ -0,0 +1,5 @@
1
+ from chatboard import __version__
2
+
3
+
4
+ def test_version_present():
5
+ assert __version__ == "0.0.1"