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
Metadata
Release files for newstldr 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| newstldr-0.2.0.tar.gz | 18.9 kB | Without provenance | Details for newstldr-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| newstldr-0.2.0-py2-none-any.whl | Python 2 | none | any | Details for newstldr-0.2.0-py2-none-any.whl |
Total release size: 39.6 kB
Release files / newstldr-0.2.0.tar.gz
| Download URL | newstldr-0.2.0.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
267216157bd18c53c6142e561d37ac7fb4fb9938ea05cf08b56d4708bc709a49
|
|
BLAKE2b-256 checksum How to use checksums |
670ab3354de32bbcea2b63ac6211fa61368ef95a768b90cb74fcee6f9d573b48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / newstldr-0.2.0-py2-none-any.whl
| Download URL | newstldr-0.2.0-py2-none-any.whl |
|---|---|
| Size | 20.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
319f3444b505e84663f6593401cefef6c33618c4f88c056844ef68add2267287
|
|
BLAKE2b-256 checksum How to use checksums |
9b123c37861220b0960f08f5ab0e88c812efea312d3a055fe7e9887ebe868880
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for newstldr 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.