A finance news aggregator used to collect articles on different market topics.
Project description
Finance News Aggregator
Table of Contents
Overview
Current Version: 0.1.2
Investors use news articles to gain an idea of market sentiment and hopefully
be able to predict the direction of markets based on the sentiment of these
articles and how they are published. The finnews
library is designed to help
the collection of news articles related to business topics and market news easy
and efficient.
Setup
To install the library, run the following command from the terminal.
pip install fin-news
To upgrade the library, run the following command from the terminal.
pip install --upgrade fin-news
Usage
Here is a simple example of using the finnews
library to to grab the top stories
on CNBC.
from pprint import pprint
from finnews.client import News
# Create a new instance of the News Client.
news_client = News()
# Grab the CNBC News Client.
cnbc_news_client = news_client.cnbc
# Grab the top news.
cbnc_top_news = cnbc_news_client.news_feed(topic='top_news')
# Print it.
pprint(cbnc_top_news)
Support These Projects
Patreon: Help support this project and future projects by donating to my Patreon Page. I'm always looking to add more content for individuals like yourself, unfortuantely some of the APIs I would require me to pay monthly fees.
YouTube: If you'd like to watch more of my content, feel free to visit my YouTube channel Sigma Coding.
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
Built Distribution
File details
Details for the file fin-news-0.1.2.tar.gz
.
File metadata
- Download URL: fin-news-0.1.2.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48bcd444e35063e3196589622c0ebdd45aaf231f30d48040e25172f76b4cefaf |
|
MD5 | ffdf881a72ab47e76c7023cc45aed0eb |
|
BLAKE2b-256 | 20bd5b2184478c8a4030fd3b7019bf17441e2e3723992233055559b88a4bf2e6 |
File details
Details for the file fin_news-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: fin_news-0.1.2-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97b262b759d3a150fd53bf73a14976a4de2b0929d4a163153e5bcee3972c5979 |
|
MD5 | 0ba69571c025f36b4b51c6f35a96ddb2 |
|
BLAKE2b-256 | 4394b6145116a5bb85e9fd087fab0e773a2d0e18fc1ffa4d5aea823e4daaec02 |