Metadata-Version: 2.4
Name: toolsalert
Version: 0.1.0
Summary: Simple alert helpers for Slack and Telegram using requests.
Author: MH
License-Expression: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.0.0
Dynamic: license-file

# toolsalert

Simple alert helpers for **Slack** and **Telegram**, implemented using `requests`.

## Install

```bash
pip install toolsalert
```

## Usage

```python
from toolsalert import AlertSlack, AlertTelegram

# Slack
slack_alert = AlertSlack(slack_token, slack_channel, bot_name, bot_icon)
slack_alert.send("Hello from Slack")

# Telegram
tg = AlertTelegram(api_token="123456:ABCDEF...", chat_id="123456789")
tg.send("Hello from Telegram")
tg.send_no_preview("<b>HTML</b> message without link preview")
tg.send_photo("https://example.com/some_image.jpg")
```

## Notes

- Do **not** hardcode real tokens/webhook URLs in code committed to git.
- Use environment variables or a secret manager for credentials.
