Reusable Telegram and Discord notification helpers
Project description
awesome-notify-bridge
Reusable notification helpers for Telegram Bot API and Discord webhook.
- PyPI package:
awesome-notify-bridge - Import path:
notify_bridge
Install
pip install awesome-notify-bridge
For local development:
pip install -e .[dev]
Usage
from notify_bridge import send_discord_message, send_telegram_message
send_discord_message(webhook_url="https://discord.com/api/webhooks/...", content="Hello from bot")
send_telegram_message(chat_id="-1001234567890", token="<bot-token>", text="Hello from bot")
Project Links
- Repository: https://github.com/trunghvbk-afataw/notify-bridge
- Issues: https://github.com/trunghvbk-afataw/notify-bridge/issues
Design Notes
- The package stays project-agnostic: no hardcoded env var names or app-specific wrappers.
- Each consuming project should map its own configuration into
send_telegram_message(...)andsend_discord_message(...). - Project-specific helpers such as
send_signal()orsend_hourly()should live outside this package.
Release
Build and validate the package locally:
python -m pip install -e .[dev]
python -m pytest
python -m build
python -m twine check dist/*
Upload to PyPI after creating an API token:
python -m twine upload dist/*
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
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 awesome_notify_bridge-0.1.5.tar.gz.
File metadata
- Download URL: awesome_notify_bridge-0.1.5.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64a3519bc75662bcf3db231bc1887f81a77786e123b944286a55fc4f04a39b74
|
|
| MD5 |
4799e9ba121653f37e06d58cc30f3726
|
|
| BLAKE2b-256 |
a93291777ab042e4ae0612454d273b33c2933e196298b268c41f255edecde4dd
|
Provenance
The following attestation bundles were made for awesome_notify_bridge-0.1.5.tar.gz:
Publisher:
publish.yml on trunghvbk-afataw/notify-bridge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
awesome_notify_bridge-0.1.5.tar.gz -
Subject digest:
64a3519bc75662bcf3db231bc1887f81a77786e123b944286a55fc4f04a39b74 - Sigstore transparency entry: 1314977385
- Sigstore integration time:
-
Permalink:
trunghvbk-afataw/notify-bridge@ea4d90a05a47b009e8cc99f05fef447ee13505ae -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/trunghvbk-afataw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ea4d90a05a47b009e8cc99f05fef447ee13505ae -
Trigger Event:
push
-
Statement type:
File details
Details for the file awesome_notify_bridge-0.1.5-py3-none-any.whl.
File metadata
- Download URL: awesome_notify_bridge-0.1.5-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3350c0c0805a9decc3a2a4a6c46679b9d7909a7c43fc0b0e0ea0966ba5a9060b
|
|
| MD5 |
1580177187ca7de3b1938fecff45b4e1
|
|
| BLAKE2b-256 |
4ee1b01fb96f08bfb386d901f031d321bd2fa7d1f533ab71d5f21a2f1b4e90f7
|
Provenance
The following attestation bundles were made for awesome_notify_bridge-0.1.5-py3-none-any.whl:
Publisher:
publish.yml on trunghvbk-afataw/notify-bridge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
awesome_notify_bridge-0.1.5-py3-none-any.whl -
Subject digest:
3350c0c0805a9decc3a2a4a6c46679b9d7909a7c43fc0b0e0ea0966ba5a9060b - Sigstore transparency entry: 1314977498
- Sigstore integration time:
-
Permalink:
trunghvbk-afataw/notify-bridge@ea4d90a05a47b009e8cc99f05fef447ee13505ae -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/trunghvbk-afataw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ea4d90a05a47b009e8cc99f05fef447ee13505ae -
Trigger Event:
push
-
Statement type: