A webapp built using streamlit to display the sentiments of people regarding any events happening in the world by analyzing tweets related to that event.
- It will search for tweets about any topic and analyze each tweet to see whether the emotion is Negtive, Neutral or Positive.
- It also fetches tweets from the profile of the entered username.
- It also shows a word cloud for easy visualization.
- Can Fetch upto 10000 Tweets.
- Gives a detailed Analysis of the tweets.
- Gives the most trending #Hashtag, Most used words,Wordcloud and @mentions of the fetched tweets.
- Gives the Overall Sentiment Analysis of the Tweets in form of graph.
- One can download/export the tweets in form of csv file.
- Python 3.6
- tweepy
- textblob
- matplotlib
final.mp4
- Clone this repository to your local machine.
- Install all the libraries mentioned in the requirements.txt file with the command pip install -r requirements.txt
- Create a file name config.ini
- Paste the code in config.iniand insert key details taken from here developer.twitter.com
[twitter]
api_key = Your Keys
api_key_secret = Your Keys
access_token = Your Keys
access_token_secret = Your Keys
- Open your terminal/command prompt from your project directory and run the file app.pyby executing the commandstreamlit run app.py.
Make some changes in the UI and also shift it to flask webapp.