Skip to main content

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.0chatenv>=0.2.10,<0.3.0httpx>=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.pychatenv.configs entry point 使 zulip provider 可被 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:模板级版本 smoke
  • docs/:长期维护文档,由 mkdocs 构建

开发说明

扩展脚手架前,先阅读 DEVELOP.mdAGENTS.md

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chatzulip-0.1.2.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

chatzulip-0.1.2-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file chatzulip-0.1.2.tar.gz.

File metadata

  • Download URL: chatzulip-0.1.2.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for chatzulip-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9172a5a492cb51ae459009c034501f44b5ae7a2e66643ecd073c9a574e8742a2
MD5 dcb99f74898ad61061d2bc21026bd8a7
BLAKE2b-256 cf7f1663a69036faecc7fd967514b0017d1ff06edc6aeb572e8407e07855f5e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatzulip-0.1.2.tar.gz:

Publisher: publish.yml on ChatArch/ChatZulip

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chatzulip-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: chatzulip-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for chatzulip-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8d44b0b5104075a7f157af7dd8dfc6f9906cc438c8c6ceef0336a3f11d69d53e
MD5 36fc4c88b6ce04a8a03052c149672c82
BLAKE2b-256 804102f6124e13ce001c8755a119e839ca565a2c902758c2f700f6fdc4f96ae3

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatzulip-0.1.2-py3-none-any.whl:

Publisher: publish.yml on ChatArch/ChatZulip

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page