Skip to main content

WeCom channel plugin for Bub

Project description

bub-wecom

WeCom channel plugin for Bub.

Install

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.1.tar.gz (27.6 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.1-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bub_wecom-0.1.1.tar.gz
  • Upload date:
  • Size: 27.6 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.1.tar.gz
Algorithm Hash digest
SHA256 e4820962fa4c98650ac59b151bf39d0c1cd28554c346e4a492b76f27d89d8e05
MD5 78b6e389a1d7f5b342c14ab1a0f64f4f
BLAKE2b-256 f1bab4e580af63120128d60df471ac983a37fef880cae671526fa76a737dfcc5

See more details on using hashes here.

Provenance

The following attestation bundles were made for bub_wecom-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: bub_wecom-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 29.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d7f4817b95818d758655ee02cf447fa6b863c88c893edae83ca346e1ed666b56
MD5 0a1bc700d5fedb55b29b71631325f1d9
BLAKE2b-256 39cadd6ad85f2a512d93377ebacd6747a3078d3a62e2b1b75e7069fb7506703a

See more details on using hashes here.

Provenance

The following attestation bundles were made for bub_wecom-0.1.1-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