Skip to main content

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

  1. Send any message to @PingmeenBot in Telegram. It will respond to you with token within 1 minute.
  2. Install this package and requests package (
  3. 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)):                                      

# at next line you'll receive a message from PingmeenBot in Telegram

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pingmeen- (1.9 kB view hashes)

Uploaded source

Built Distribution

pingmeen- (3.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page