Skip to main content

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 .

Metadata

Release files for bub-wecom 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bub-wecom 0.1.2
File Size Uploaded Provenance Actions
bub_wecom-0.1.2.tar.gz 27.8 kB With provenance Details for bub_wecom-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bub-wecom 0.1.2
File Interpreter ABI Platform Actions
bub_wecom-0.1.2-py3-none-any.whl Python 3 none any Details for bub_wecom-0.1.2-py3-none-any.whl

Total release size: 57.1 kB

Release files / bub_wecom-0.1.2.tar.gz

Download URL bub_wecom-0.1.2.tar.gz
Size 27.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d8570365255dbebe3dde98c91e5c58a4d8b7a7a3b7d8b31c7d9c3b967ed730d8
BLAKE2b-256 checksum
How to use checksums
f3ae9169778b27fcaf81f48c13c7a19c42aa1f19f5c290fb326aa3f1db6cede9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 13, 2026.

Transparency log

Release files / bub_wecom-0.1.2-py3-none-any.whl

Download URL bub_wecom-0.1.2-py3-none-any.whl
Size 29.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f18f96b0a3c33d6d25b5ec13ea4471621e77294cf1b6fcd057c2399cd44057b
BLAKE2b-256 checksum
How to use checksums
76ad7be01a3527d70ab20049e38f381ba8d2b2d8cdd74bf1aabf57a4124f4d6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 13, 2026.

Transparency log

Security for bub-wecom 0.1.2

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bub_wecom-0.1.2.tar.gz

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 Mar 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page