Awesome hacker_news_email_sender created by WagnoLeaoSergio
Project description
hacker_news_email_sender
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
Built Distribution
File details
Details for the file hacker_news_email_sender-1.0.0.tar.gz
.
File metadata
- Download URL: hacker_news_email_sender-1.0.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ab0f634cf66e8f69e49210c2ac3f016267e71a8a42c788004b60dcca1e08e4e |
|
MD5 | 560e37c139f01017852f924b606e008f |
|
BLAKE2b-256 | ea2f4ba64391ef31c76962e52a653050cb4614d2a8f1c41ef5da3246b8696f27 |
File details
Details for the file hacker_news_email_sender-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: hacker_news_email_sender-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 870018a074b4e933900aeaa65b5045c6c77d21c0937007e27aa1766c0eb07964 |
|
MD5 | bca096f30897abcb5a66bc8d1d588932 |
|
BLAKE2b-256 | fef8e15e54fab260d17b97a1e009c0abdef29b4120253563e1fac785cb1e9d6f |