kalaidin
ipytelegram
Python

IPython magic for Telegram notifications

Last updated Nov 12, 2022
15
Stars
7
Forks
1
Issues
0
Stars/day
Attention Score
7
Language breakdown
Python 100.0%
Files click to expand
README

ipytelegram

IPython magic for Telegram notifications,

or get a push once a model is finally trained.

Requires


pip install telepot

Install


%install_ext https://raw.githubusercontent.com/kalaidin/ipytelegram/master/ipytelegram.py

Load


%load_ext ipytelegram

Initialize


%telegram_setup

Use


Cell magic as follows:

%%telegram_send I am finally trained! model.train(epochs=1e10)

will send "I am finally trained!" to you on behalf of your bot once the cell is completed.

Token


Talk to BotFather to create a bot and get a token.

ID


The bot is not able to start a conversation with you, so talk to him first, then run:

import telepot bot = telepot.Bot() response = bot.getUpdates()

Look up response for your ID.

🔗 More in this category

© 2026 GitRepoTrend · kalaidin/ipytelegram · Updated daily from GitHub