Skip to main content

Project Monitoring based on GMail

Project description

gmailpm allows you to monitor the progress of extended applications using gmail.


1. Create a TGmailProjectMonitoring object

import gmailpm.gmailpm as gpm
pm = gpm.TGmailProjectMonitoring(emailAddress="", emailPassword="yourpassword",projectName="TestProject")

Note, that the class TGmailProjectMonitoring requires 3 arguments, your emailaddress, your password and a discription of the job.

2. At the beginning of your code send a Mail to your gmail account with senStaretedMessage


sendStartMessage without arguments sends a message with the projectname as subject and hostname and current directory as body. You can
override the body text with the optional argument info (eg. pm.sendStartMessage(info="started
at CLUSTER:./mydir") )

3. In order to protocoll your progress you can send a progress message with

pm.sendProgressMessage("After %d Steps: Avg=123456.7890" % (i,))

if __name__=="__main__":
project = "TestProject"
pm = TGmailProjectMonitoring(emailAddress="",emailPassword="password",projectName=project)
pm.sendStartMessage(info="startedat CLUSTER:./mydir")
pm.sendProgressMessage("Progress 50%")

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
gmailpm-0.0.3.win32.exe (201.2 kB) Copy SHA256 hash SHA256 Windows Installer any (5.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page