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")
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")
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
gmailpm-0.0.3.zip
(5.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
gmailpm-0.0.3.win32.exe
(201.2 kB
view details)
File details
Details for the file gmailpm-0.0.3.zip.
File metadata
- Download URL: gmailpm-0.0.3.zip
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ea855eb997af13e75f91811139ef397673e558a3cca8ea972b61f7bbe20f423
|
|
| MD5 |
b9dab78f6481a5037d5b40346053589e
|
|
| BLAKE2b-256 |
d711bbee940c9afa928860f6a84e376c21327321e59fb4ceb240461726772531
|
File details
Details for the file gmailpm-0.0.3.win32.exe.
File metadata
- Download URL: gmailpm-0.0.3.win32.exe
- Upload date:
- Size: 201.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
674cfcd59bc072d18a09bb3a752d20c96be9ceec474d12cd2dbebfb7d92b5d3a
|
|
| MD5 |
e1b91753ff6bf27f242a343ec97858e8
|
|
| BLAKE2b-256 |
d6db3d2220511b26a803ad9195dd952e7d7a6a67a8f9949862efcffff288fc9c
|