Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 573 Bytes

File metadata and controls

11 lines (8 loc) · 573 Bytes

python-tweet-moods

Uses Tweepy Streaming API with access-tokens for a registered Twitter application to read tweets containing the string "python". Then uses the Naive Bayesian sentiment analyzer from TextBlob to gauge whether the tweet is considered positive or negative. Results are sent to Hosted Graphite every 3 minutes.

Dependencies

$ pip install -U tweepy
$ pip install -U textblob

Running

$ python stream.py