This library is made of two parts:
Extraction(STABLE) (requires Python 3.7+) - see examples and sample data for both real-time and historical data.Analysis(WIP)
News api download sources
Real-time data sources incorporated:
- BBC News
- FOX News
- ABC News
- NYTimes
- YahooFinance
- Sky News
- Forbes
- CNBC Finance
Historical news data from:
- NYTimes
To use your own data sources you can update the json config file or provide your own.
Other news sources:
- https://github.com/abisee/cnn-dailymail processes the https://cs.nyu.edu/~kcho/DMQA/ DeepMind Dataset (2015 - CNN & DailyMail)
- Kaggle million-headlines dataset (ABC News)
- GLUE & SUPERGLUE RTE datasets
Usage
python examples/get_historical_news_data.py
python examples/get_news_data.py
Analysis (NLP)
(WIP)
Metadata
Release files for newsai 0.9
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 |
|---|---|---|---|---|
| newsai-0.9.tar.gz | 11.7 kB | Without provenance | Details for newsai-0.9.tar.gz |
Release files / newsai-0.9.tar.gz
| Download URL | newsai-0.9.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
16fae29356b3f0de5a12fc06c1cd3ca164532fc0b91433afe36eeceb0d08d18c
|
|
BLAKE2b-256 checksum How to use checksums |
2bbf0b101d7e09b84d53f1572f484f72d951cb29e4f3bdc682c76688e7362b77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Security for newsai 0.9
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.