This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Project Monitoring based on GMail

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

Tutorial:
http://homepage.univie.ac.at/wolfgang.lechner/gmailpm.html

Description:
1. Create a TGmailProjectMonitoring object

import gmailpm.gmailpm as gpm
pm = gpm.TGmailProjectMonitoring(emailAddress="youremailaddress@gmail.com", 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

pm.sendStartMessage()

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,))


Example:
if __name__=="__main__":
project = "TestProject"
pm = TGmailProjectMonitoring(emailAddress="test.test@gmail.com",emailPassword="password",projectName=project)
pm.sendStartMessage(info="startedat CLUSTER:./mydir")
pm.sendProgressMessage("Progress 50%")
pm.sendProgressMessage("Finished")
Release History

Release History

This version
History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
gmailpm-0.0.3.win32.exe (201.2 kB) Copy SHA256 Checksum SHA256 any Windows Installer Oct 1, 2009
gmailpm-0.0.3.zip (5.1 kB) Copy SHA256 Checksum SHA256 Source Oct 1, 2009

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting