Skip to content

JonnesLin/ex_reminder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ex_reminder

A reminder that can notify you wherever you are. You can use it when you train your deep learning model, and it will send you the result of the experiment wherever you are. Please believe me, it is very easy for you to get started!

requirement

yagmail

How to use?

install it firstly!

pip install ex-reminder  # or pip install ex-reminder -i https://pypi.org/simple
pip install yagmail
from ex_reminder import reminder


sender_email = 'xxx@xxx.com'
# the authorized code is not your password sometime, and it depends on your mail service
authorized_code = 'xxxxx'  
host = 'xxx'  # for example: smtp.163.com
receiver_email = 'xxxx@xxx.com'  # receiver email can be the sender email
subject = ''  # it is optional, and the default value is 'An experiment from ex_reminder!'

sender = reminder(sender_email=sender_email, authorized_code=authorized_code, \
                  host=host, receiver_email=receiver_email, subject=subject)
### processing 
content = 'Loss: 12, Acc:91.53%'
sender.send(content)

About

A reminder that can notify you wherever you are.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages