项目作者: romario076

项目描述 :
Live Twitter Sentiment Application
高级语言: Python
项目地址: git://github.com/romario076/Live-Twitter-Sentiment-App.git
创建时间: 2019-01-06T11:39:05Z
项目社区:https://github.com/romario076/Live-Twitter-Sentiment-App

开源协议:

下载


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:

  1. pip install dash==0.34.0 # The core dash backend
  2. pip install dash-html-components==0.13.4 # HTML components
  3. 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