ChatZulip
ChatZulip 是 ChatArch 的 Zulip 集成包,提供 ChatEnv-backed Zulip 配置、Zulip REST client、read-oriented CLI、Markdown news digest 和 MCP adapter。
快速开始
pip install -e ".[dev]"
chatzulip --help
chatzulip --version
chatzulip --tree
chatzulip --tree-brief
python -m pytest -q
# 先用 ChatEnv 配置 Zulip 凭据,再使用 CLI。
chatenv test -t zulip -I
chatzulip streams
chatzulip topics --stream general
chatzulip search-topics conjecture --all-streams
chatzulip search comparator --stream lean4 --since-hours 168
chatzulip messages --stream general --before 5
chatzulip news --stream general --since-hours 24 --output zulip-news.md
完整包边界、CLI/API 约定和发布顺序见文档页:ChatZulip 规范。
CLI 规范
这个包依赖 chatstyle>=0.2.0,<0.3.0、chatenv>=0.2.10,<0.3.0 和 httpx>=0.28.1,<1.0,新的命令应优先使用:
CommandSchema/CommandField描述输入。add_interactive_option()提供统一-i/-I。add_tree_option()从真实 Click registry 提供--tree/--tree-brief。resolve_command_inputs()统一缺参补问、默认值、TTY 与校验。config.py和chatenv.configsentry point 使zulipprovider 可被 ChatEnv 发现;配置统一存入~/.chatarch/envs/Zulip/(或$CHATARCH_HOME/envs/Zulip/)。
目录结构
src/:包源码tests/code-tests/:client、operations、config 等代码测试tests/cli-tests/:真实服务/人工运行的 doc-first CLI 用例tests/mock-cli-tests/:fake client / mock CLI 自动化测试tests/test_version.py:模板级版本 smokedocs/:长期维护文档,由 mkdocs 构建
开发说明
扩展脚手架前,先阅读 DEVELOP.md 和 AGENTS.md。
Metadata
Release files for ChatZulip 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chatzulip-0.1.2.tar.gz | 15.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chatzulip-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.3 kB
Release files / chatzulip-0.1.2.tar.gz
| Download URL | chatzulip-0.1.2.tar.gz |
|---|---|
| Size | 15.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9172a5a492cb51ae459009c034501f44b5ae7a2e66643ecd073c9a574e8742a2
|
|
BLAKE2b-256 checksum How to use checksums |
cf7f1663a69036faecc7fd967514b0017d1ff06edc6aeb572e8407e07855f5e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / chatzulip-0.1.2-py3-none-any.whl
| Download URL | chatzulip-0.1.2-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d44b0b5104075a7f157af7dd8dfc6f9906cc438c8c6ceef0336a3f11d69d53e
|
|
BLAKE2b-256 checksum How to use checksums |
804102f6124e13ce001c8755a119e839ca565a2c902758c2f700f6fdc4f96ae3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency log