Skip to main content

No project description provided

Project description

A package for convenient sending errors/messages

As for now fps_channels supports sending data through Telegram in formats such as .xlsx, .png, plain text.

It supports both async and sync sending.

Example (sync)

class TelegramAlertChannel(TelegramChannel):
    SHOW_FILENAME = True
    HEADER = "️🆘️ Header text"

alert_channel = TelegramAlertChannel(
    bot_token="bot:token",
    chat_id=12345
)
alert_channel.send_message("Message")

Example (async)

class AsyncTelegramAlertChannel(AsyncTelegramChannel):
    SHOW_FILENAME = True
    HEADER = "️🆘️ Header text"

async alert_channel = AsyncTelegramAlertChannel(
    bot_token="bot:token",
    chat_id=12345
)
await alert_channel.send_message("Message")

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

fps_channels-1.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

fps_channels-1.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file fps_channels-1.0.tar.gz.

File metadata

  • Download URL: fps_channels-1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for fps_channels-1.0.tar.gz
Algorithm Hash digest
SHA256 d5920c6536978da0e783d8cebc757bf2683dadcdd86e26bdfe7b70ca8b6dceed
MD5 cf7698219445d8d7f1231a9f88b02f95
BLAKE2b-256 e322b2fe7500648ae0d2fd53dd7a1fc4d3448e8ef021731e339154d84cd2852c

See more details on using hashes here.

File details

Details for the file fps_channels-1.0-py3-none-any.whl.

File metadata

  • Download URL: fps_channels-1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for fps_channels-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d97f64efad7f47b2774884044dbe66b923bfaf201adcd518a212b651feb0ae7
MD5 22965e01099ea38b59f77f603d658bb6
BLAKE2b-256 b942fbbd420a68d9066009582e2d45a8eaa2a17385ea8608c278c24d05fc74eb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page