NewsTLDR
Project description
NewsTLDR
A Flasik extension to fetch and summarize the news.
It provides an API https://url/newstldr/
You will also need newstldr-admin
Requirements
- AWS Account for S3
- Google API Account for youtube
Install
Add in Flasik application requirements.txt newstldr
Config
# NTLDR/Newsroom
NTLDR_AWS_ACCESS_KEY_ID = AWS_ACCESS_KEY_ID
NTLDR_AWS_SECRET_ACCESS_KEY = AWS_SECRET_ACCESS_KEY
NTLDR_AWS_REGION_NAME = AWS_REGION_NAME
NTLDR_IMAGES_STORAGE_PREFIX = "ntldr.imgs"
NTLDR_SQS_MQ_NAME = "Newsroom"
NTLDR_GOOGLE_API_KEY = GOOGLE_API_KEY
flasik.py
import newstldr.cli
projects = {
"main": [
"newstldr"
]
}
Setup
flasik news:setup
Run workers
To automatically import and process articles
Import Posts
flasik news:worker:import-posts
Run Task Q
flasik news:worker:run-taskq
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
newstldr-0.1.0.tar.gz
(18.9 kB
view details)
Built Distribution
newstldr-0.1.0-py2-none-any.whl
(20.7 kB
view details)
File details
Details for the file newstldr-0.1.0.tar.gz
.
File metadata
- Download URL: newstldr-0.1.0.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.17.3 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97a7741054cc0890b6835f99f72cec0321d318e8b864849b4d830bd63528a261 |
|
MD5 | 6ba5075d15f79d13db8ab6d63e689235 |
|
BLAKE2b-256 | b3bc2317dca4d579b407039f83684ff7b644d7885dec0c5eed845dc23a6524c2 |
File details
Details for the file newstldr-0.1.0-py2-none-any.whl
.
File metadata
- Download URL: newstldr-0.1.0-py2-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.17.3 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0032e1b135e9559ea2dcdf510922aba706bf7b18e02f8f63e7607e8a611694ba |
|
MD5 | 7e851be738b64ca042a15e05be220598 |
|
BLAKE2b-256 | 83e8a5c414a1d03486451a1b8c6254d9e604d471de9941ea88ff3b720b6df9bb |