slackker logo slackker

Real-time notifications for any Python pipeline

Run anything.
Know instantly. Stay anywhere.

slackker sends real-time notifications to Slack or Telegram for any Python script, data pipeline, ML training run, or automation workflow — complete with metrics, outputs, and optional plots.

main.py
Client:
from slackker.core import TelegramClient
from slackker.callbacks.simple import SimpleCallback

client = TelegramClient(token="123456:ABC-DEF...")
slackker = SimpleCallback(client)

@slackker.notifier
def train_model():
    return "done"

slackker.notify(event="training_complete", status="completed")

Why slackker

Stay informed without staying glued to your screen

Any Python Function

Decorator-based notifications for script execution with returned output summaries.

Keras Callback

Attach to model.fit and receive metric progress during epoch training.

Lightning Callback

Track train and validation logs with monitor-based best epoch updates.

Plot Sharing

Export and send history plots so you can check model behavior quickly on mobile.

Quick start

From install to updates in five steps

  1. 1Install package: pip install slackker
  2. 2Setup Slack app token and channel, or Telegram bot token.
  3. 3Create a SlackClient or TelegramClient with your credentials.
  4. 4Pass the client to SimpleCallback, KerasCallback, or LightningCallback.
  5. 5Run training and receive updates plus optional exported plots.

Detailed callback usage

Drop-in examples for real projects

pipeline.py
Client:
from slackker.core import TelegramClient
from slackker.callbacks.simple import SimpleCallback

client = TelegramClient(
    token="123456:ABC-DEF...",
    verbose=1
)
notify = SimpleCallback(client)

@notify.notifier
def run_data_pipeline(source_path: str):
    rows_processed = 12500
    status = "success"
    return rows_processed, status

if __name__ == "__main__":
    rows, status = run_data_pipeline("./data/train.csv")
    notify.notify(
        event="pipeline_finished",
        rows_processed=rows,
        status=status,
        attachment="./artifacts/summary.txt"
    )

Under the hood

Three lines to stay in the loop

🔌
01

Connect

Create a SlackClient or TelegramClient with your API token. slackker verifies connectivity and resolves your channel or chat ID automatically.

🎯
02

Attach

Pass the client to SimpleCallback, KerasCallback, or LightningCallback. Wrap your function with @notifier or drop the callback into your trainer.

📲
03

Receive

Get real-time updates — execution time, returned outputs, epoch metrics, best model stats, and optional training plots — delivered straight to your phone.

Get started in 60 seconds

Your pipeline runs. Your phone notifies

Stop babysitting terminal. Slackker keeps you informed so you can stay heads-down on what actually matters.