Skip to main content

WeCom channel plugin for Bub

Project description

bub-wecom

WeCom channel plugin for the Bub fork.

Install

Note This package targets the ximenzun/bub fork. It is not an official bubbuild/bub plugin package, and compatibility with upstream Bub should not be assumed.

Once published:

uv pip install bub-wecom

For local development next to the Bub repo:

cd ../bub-wecom
uv sync

Included Channels

  • wecom_webhook: outbound-only Enterprise WeCom webhook adapter
  • wecom_longconn_bot: Enterprise WeCom smart-bot bridge adapter

Usage

Once installed, bub gateway will auto-discover this plugin via Python entry points.

uv run bub gateway --enable-channel wecom_longconn_bot
uv run bub gateway --enable-channel wecom_webhook

When bub-wecom is checked out next to bub, uv sync uses the sibling ../bub checkout as an editable dependency via tool.uv.sources, matching the local-development workflow used by bub-social-coding.

Run

From the bub-wecom repo root:

uv sync
uv run bub gateway --enable-channel wecom_longconn_bot

Use the bundled WeCom skill after installation; it is shipped through the bub_skills namespace package.

Release

Publishing is driven by GitHub Actions. Create a GitHub Release on main with a tag like v0.1.0 or 0.1.0, and the release workflow will:

  1. normalize the tag to a package version
  2. build the sdist and wheel
  3. publish to PyPI through Trusted Publishing (GitHub OIDC)

No long-lived PYPI_TOKEN secret is required when PyPI Trusted Publisher is configured for .github/workflows/on-release-main.yml.

Contributing

See CONTRIBUTING.md for the local workflow, verification commands, and pull request process.

Development

uv run pytest -q
uv run ruff check .

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

bub_wecom-0.1.2.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

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

bub_wecom-0.1.2-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bub_wecom-0.1.2.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bub_wecom-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d8570365255dbebe3dde98c91e5c58a4d8b7a7a3b7d8b31c7d9c3b967ed730d8
MD5 f5f05013c8417c402460946c3d8fd8bc
BLAKE2b-256 f3ae9169778b27fcaf81f48c13c7a19c42aa1f19f5c290fb326aa3f1db6cede9

See more details on using hashes here.

Provenance

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

Publisher: on-release-main.yml on ximenzun/bub-wecom

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

File details

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

File metadata

  • Download URL: bub_wecom-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bub_wecom-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6f18f96b0a3c33d6d25b5ec13ea4471621e77294cf1b6fcd057c2399cd44057b
MD5 3baf021071eba30c779e5e96fa8760fb
BLAKE2b-256 76ad7be01a3527d70ab20049e38f381ba8d2b2d8cdd74bf1aabf57a4124f4d6f

See more details on using hashes here.

Provenance

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

Publisher: on-release-main.yml on ximenzun/bub-wecom

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

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