Skip to content

GiulioRossetti/pynotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pynotify

PyNotify is a Python decorator designed to notify via email the termination (and eventual stacktrace in case of failure) of a function.

N.B.: It support only Gmail accounts for both sender and recipients.

Installation

PyNotify is available (for Python 2.7 and 3.x) through pip.

pip install pynotify

Usage Example

from pynotify import pynotify as pn

@pn.ExecutionNotifierDecorator('your.email@gmail.com', 'your_pwd', ['rcp1@gmail.com', 'rcp2@gmail.com'])
def hello():
	print "Hello world!"
	
hello()

About

Python decorator that notifies via email the termination of a function

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy