Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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

Download files

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

Files for newstldr, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size newstldr-0.2.0-py2-none-any.whl (20.7 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size newstldr-0.2.0.tar.gz (18.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page