Build a Streaming Twitter Filter with Python and Redis

Learn how to use Twitter's Streaming API, Redis and Flask together.
English [Auto]
Learn how to use Tweepy to interact with Twitter's API
Learn how to use Redis to setup a local key-value store
Learn about sentiment analysis
Learn how to pre-process and format data in Python
Learn how to display data from Redis via Flask and Jinga2


  • Understanding of Python and web development


This video series will walk through building a streaming Twitter filter using Python and Redis. 

Here is a synopsis of each video:

  1. Talks about the project and data pipeline

  2. Show how to ingest the Twitter stream

  3. Explain sentiment analysis and how to do it using Python

  4. Explain Redis and show how to setup a local server

  5. Design a pen & paper mockup, then convert to front-end code

  6. Prepare a custom Python class to preprocess and format data fields

  7. Build a simple Flask server to combine all the code so far

  8. Explores further improvements to the pipeline

Who this course is for:

  • Intermediate programmers who are interested in data engineering

Course content

1 section8 lectures1h 5m total length
  • Introduction
  • Twitter Stream
  • Design & Front-end Development
  • Sentiment Analysis
  • Redis Server
  • Data Formatting
  • Flask Server
  • Next Steps


Curriculum Engineer at K2 Data Science
Ty Shaikh
  • 4.8 Instructor Rating
  • 349 Reviews
  • 20,084 Students
  • 2 Courses

I am a Curriculum Engineer at K2 Data Science. I build instructional material and example projects for the data science course. I'm currently working with data engineering professionals to build a course teaching distributed processing and computing.

Previously, I worked as a data science and software engineering consultant. I started my career in distressed private equity.