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 (https://pypi.org/project/requests/)
  3. 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


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.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

pingmeen-0.0.8-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page