Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

CHMGhost/topNewStories_Project1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Background of Application

This project uses combination of items

  • Python

  • Streamlit

  • New York Times API

  • JSON

Overview

My professor tasked me with creating a web application that uses Python, the Streamlit platform, the API from the New York Times, and JSON documents.

Packages used

  • Streamlit
  • nltk
  • request
  • wordcloud
  • pylot
pip3 install streamlit nltk requests pylot

For wordcloud We used anaconda

conda install -c https://conda.anaconda.org/conda-forge wordcloud

First section

In the first section of the application. The user is asked for their name and preferred topic of news.

When the user has enter their name and selected a topic. This will display two checkboxes for the following

  1. Frequency distribution for the top 10 most common words used in the top stories.
  2. A Wordcloud image of the top 10 most common words used.

Second Section

In the second section of the application. The user is asked for their preferred set of articles. They can choose from the following.

  1. Shared
  2. Emailed
  3. Viewed

The user is also asked for their preffered the maximum age of articles. They can choose from the following.

  1. 1 day
  2. 7 days
  3. 30 days

Once the users has made their selections a wordcloud image will be displayed.

Question

Please send me an email at [email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages