{"id":1386,"date":"2025-07-16T12:50:30","date_gmt":"2025-07-16T12:50:30","guid":{"rendered":"https:\/\/sola.kau.se\/deprimap\/?p=1386"},"modified":"2025-07-16T12:51:37","modified_gmt":"2025-07-16T12:51:37","slug":"telegram-bot","status":"publish","type":"post","link":"https:\/\/sola.kau.se\/deprimap\/2025\/07\/16\/telegram-bot\/","title":{"rendered":"Get Notified When Your Jupyter Notebook Finishes Using a Telegram Bot"},"content":{"rendered":"

Get Notified When Your Jupyter Notebook Finishes Using a Telegram Bot<\/h3>\n\n\n

Disclaimer: This blog post is not affiliated with or endorsed by Telegram. As part of our workflow experimentation in the DEPRIMAP project, we explored multiple ways to receive remote notifications for long-running Jupyter Notebook tasks. Among the options tested, Telegram offered the simplest and secure implementation with minimal setup. We are sharing this solution purely as a practical tip based on our experience.<\/code><\/em><\/p>\n\n\n\n

Have you ever found yourself waiting around for a Jupyter Notebook cell to finish running? Maybe you are training a large model, exporting data from cloud servers, or processing heavy geospatial files. You step away for a coffee or switch to another task, only to return much later, unsure if your code finished 10 seconds ago or 10 minutes ago.<\/p>\n\n\n\n

In large-scale projects like DEPRIMAP, where notebooks can take time to execute due to high-resolution geospatial datasets or remote API requests, this is more than just an inconvenience; it’s a break in workflow.<\/p>\n\n\n\n

That’s where Telegram<\/strong> comes in.<\/p>\n\n\n\n

In this guide, I’ll show you how to:<\/p>\n\n\n\n