Skip to main content

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

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(...) and send_discord_message(...).
  • Project-specific helpers such as send_signal() or send_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

awesome_notify_bridge-0.1.5.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

awesome_notify_bridge-0.1.5-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

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

Hashes for awesome_notify_bridge-0.1.5.tar.gz
Algorithm Hash digest
SHA256 64a3519bc75662bcf3db231bc1887f81a77786e123b944286a55fc4f04a39b74
MD5 4799e9ba121653f37e06d58cc30f3726
BLAKE2b-256 a93291777ab042e4ae0612454d273b33c2933e196298b268c41f255edecde4dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for awesome_notify_bridge-0.1.5.tar.gz:

Publisher: publish.yml on trunghvbk-afataw/notify-bridge

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

File details

Details for the file awesome_notify_bridge-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for awesome_notify_bridge-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3350c0c0805a9decc3a2a4a6c46679b9d7909a7c43fc0b0e0ea0966ba5a9060b
MD5 1580177187ca7de3b1938fecff45b4e1
BLAKE2b-256 4ee1b01fb96f08bfb386d901f031d321bd2fa7d1f533ab71d5f21a2f1b4e90f7

See more details on using hashes here.

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

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