资源算法sgns.py

sgns.py

2020-02-10 | |  77 |   0 |   0

sgns

Simple Gmail Newsletter Sender is a Python command-line tool to send newsletter emails using your Gmail account

Usage

  $ python run.py
      --email your_gmail_account 
      --pwd your_gmail_password 
      --subject 'newsletter_subject' 
      --json path_to_json_file_with_emails 
      --html path_to_newsletter_html

Example

Using usuarios.json and newsletter.html we provide on the example folder, type:

  $ python run.py --email your_gmail_account --pwd your_gmail_password 
  --subject 'Simple Newsleter Testing' --json 'example/usuarios.json' --html 'example/newsletter.html'

TODO

  • Add arguments & functionalities to receive other data formats (--xml, --csv, --xls)

  • Add argument & funcionality to get the html from an url (--html_uri)


上一篇:word2vec-SGNS

下一篇:sgns_pytorch

用户评价
全部评价

热门资源

  • DuReader_QANet_BiDAF

    Machine Reading Comprehension on DuReader Usin...

  • ETD_cataloguing_a...

    ETD catalouging project using allennlp

  • allennlp_extras

    allennlp_extras Some utilities build on top of...

  • allennlp-dureader

    An Apache 2.0 NLP research library, built on Py...

  • honk-honk-motherf...

    honk-honk-motherfucker