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
# if you have passed invalid token, you'll get exception at next line
ping = pingmeen.Pingmeen(token = '<your token from bot here>')
# instead of that loop put some code you're waiting to be executed
for i in range(int(1e7)):
pass
# at next line you'll receive a message from PingmeenBot in Telegram
ping.finish()
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.3.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for pingmeen-0.0.8.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21762b9c1a9e99bc92711f2929d5c34525f9ab1a506eb03fbee3081d8ce7a2da |
|
MD5 | 997edb606740ded00ae0eddde5ea39cc |
|
BLAKE2b-256 | d5ba13dbb5149e711af399057051b538e6a862152c72939b10341c6abda385e5 |