Skip to main content

Awesome hacker_news_email_sender created by WagnoLeaoSergio

Project description

hacker_news_email_sender

codecov CI PyPI

hacker_news_email_sender created by WagnoLeaoSergio

Install it from PyPI

pip install hacker_news_email_sender

You also have to create a .env file and set the EMAIL_PASSWORD variable wih the properly value.

Note: If you are going to use Gmail to send the news you firstly have to go into your Google Account -> security and enable the access for less secure apps.

Usage

from hacker_news_email_sender import News_Extractor

News_Extractor.extract_news()
News_Extractor.send_email('sender@domain.com', 'receiver@domain.com')
$ python -m hacker_news_email_sender sender@domain.com receiver@domain.com
#or
$ hacker_news_email_sender sender@domain.com receiver@domain.com

Development

Read the CONTRIBUTING.md file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hacker_news_email_sender-1.0.0.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

hacker_news_email_sender-1.0.0-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page