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 adapterwecom_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:
- normalize the tag to a package version
- build the sdist and wheel
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bub_wecom-0.1.0.tar.gz.
File metadata
- Download URL: bub_wecom-0.1.0.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99fb3766525dab728865b8debcba093e5647bb1e5accb23c07890922fe1e05ef
|
|
| MD5 |
de3760829c481837ec3d78a29a2fc7fb
|
|
| BLAKE2b-256 |
ff4c876a69288e579cd1615602cb4b342096521225c007923f17e483c3cb1764
|
Provenance
The following attestation bundles were made for bub_wecom-0.1.0.tar.gz:
Publisher:
on-release-main.yml on ximenzun/bub-wecom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bub_wecom-0.1.0.tar.gz -
Subject digest:
99fb3766525dab728865b8debcba093e5647bb1e5accb23c07890922fe1e05ef - Sigstore transparency entry: 1083169882
- Sigstore integration time:
-
Permalink:
ximenzun/bub-wecom@9393feb7eac783d1de12656da1aa259e4db2e53d -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/ximenzun
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
on-release-main.yml@9393feb7eac783d1de12656da1aa259e4db2e53d -
Trigger Event:
release
-
Statement type:
File details
Details for the file bub_wecom-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bub_wecom-0.1.0-py3-none-any.whl
- Upload date:
- Size: 25.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a44141c5f794a97a4e4d3a8d8961eb53fb85a299b004f23c7ee2af106ba9acec
|
|
| MD5 |
2c38938b7d0d27eaf62bf4e6549ea869
|
|
| BLAKE2b-256 |
5b41bd2df1497e115ce124861fb4721c5f619767ef99dea320dfc2ec7fcbbe76
|
Provenance
The following attestation bundles were made for bub_wecom-0.1.0-py3-none-any.whl:
Publisher:
on-release-main.yml on ximenzun/bub-wecom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bub_wecom-0.1.0-py3-none-any.whl -
Subject digest:
a44141c5f794a97a4e4d3a8d8961eb53fb85a299b004f23c7ee2af106ba9acec - Sigstore transparency entry: 1083169969
- Sigstore integration time:
-
Permalink:
ximenzun/bub-wecom@9393feb7eac783d1de12656da1aa259e4db2e53d -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/ximenzun
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
on-release-main.yml@9393feb7eac783d1de12656da1aa259e4db2e53d -
Trigger Event:
release
-
Statement type: