GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ermakovpetr/ipytelegram: IPython magic for Telegram notifications

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
README.md
README.md
 
 
ipytelegram.py
ipytelegram.py
 
 

Repository files navigation

ipytelegram

IPython magic for Telegram notifications,

or get a push once a model is finally trained.

Requires

pip install telepot

Install

(deprecated) %install_ext https://raw.githubusercontent.com/ermakovpetr/ipytelegram/master/ipytelegram.py

or

jupyter nbextension install https://raw.githubusercontent.com/ermakovpetr/ipytelegram/master/ipytelegram.py

Load

%load_ext ipytelegram

Initialize

%telegram_setup <token> <your id>

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(<token>)
response = bot.getUpdates()

Look up response for your ID.

About

IPython magic for Telegram notifications

Resources

Readme
Activity

Stars

9 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.