Notifications from your Python code
Project description
Pingmeen lets you know, when your computation is done!
In ML and some other fields there is a common case, when you deal with computation intensive and time consuming tasks, and your solution is often written in Python. Pingmeen package allows you to ping yourself easily using Telegram when computation is done.
How to use Pingmeen
- Send any message to @PingmeenBot in Telegram. It will respond to you with token within 1 minute.
- Install this package and
requests
package (https://pypi.org/project/requests/) - Write some code using class Pingmeen from package and token you received from PingmeenBot.
Code example
import pingmeen
ping = pingmeen.Pingmeen(token = '<your token from bot here>') # if you have passed invalid token, you'll get exception at that line
for i in range(int(1e7)): # instead of that loop put some code you're waiting to be executed
pass
ping.finish() # at that line you'll receive a message from PingmeenBot in Telegram
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pingmeen-0.0.8.2.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for pingmeen-0.0.8.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ad7ddc5b3d1a04710d3995dea1b15fc9657a58167823e0bcd3064df6b97982 |
|
MD5 | 4c16ff3d455f7e84467f5de11f4a54c6 |
|
BLAKE2b-256 | 896dd77a5d41b8da57a7695bc6f44d26537ac6c445a55d52f328a9cf1bd39daf |