Metadata-Version: 2.1
Name: ca-alerts-client
Version: 0.1
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: pandas~=2.0.3
Requires-Dist: dataframe-image~=0.2.4
Requires-Dist: tenacity~=9.0.0
Requires-Dist: lxml~=5.3.0
Requires-Dist: openpyxl~=3.1.5
Requires-Dist: setuptools~=72.1.0
Requires-Dist: pika~=1.3.2
Requires-Dist: matplotlib~=3.7.5

# Клиент для коммуникации с сервисом ca-alerts

## 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")
```

