Skip to content

romario076/Live-Twitter-Sentiment-App

Repository files navigation

Live-Twitter-Sentiment-App

It is live dashboard of streamed twitter tweets, filtered by your own key words with applying sentiment analysis of tweets. Sentiment analysis is for classifying on positve and negative tweets. Store them in local database, and then creates a dashbord with live charts.

Availble:

  • Historical scatter moving average chart. With dynamic historical window size.
  • Pie chart, which shows positive/negative partition by count. Also availble to control historical period.
  • Live table with tweets.
  • Possible to change list of 'key words', in Config.py

For using neccessary to have your own ckey, csecret, atoken, asecret for connection to twitter. Fill them in Config.py For this neccassary to create your own dev account. https://developer.twitter.com/en/account/get-started


Requiremets:

  • python 3.6
  • pandas
  • threading
  • sqlite3
  • textblob
  • tweepy
  • plotly
  • dash
  • dash-html-components
  • dash-core-components

Install such releases:

pip install dash==0.34.0  # The core dash backend
pip install dash-html-components==0.13.4  # HTML components
pip install dash-core-components==0.41.0  # Supercharged components

Usage:

Double click on run.bat alt text


Live dashboard example:

alt text alt text