资源算法sgns.py

sgns.py

2020-02-10 | |  86 |   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

用户评价
全部评价

热门资源

  • allennlp-server

    allennlp-server Serve allennlp services as sep...

  • ubuntu-allennlp

    ubuntu-allennlp AllenAI AllenNLP image based o...

  • allennlp_extras

    allennlp_extras Some utilities build on top of...

  • allennlp-dureader

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

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...