Giter Site home page Giter Site logo

jct94 / kinesis-twitter-watcher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dayrell/kinesis-twitter-watcher

0.0 1.0 0.0 42 KB

You can use this script to monitor certain tags on Twitter and send the data to Amazon Kinesis

Python 100.00%

kinesis-twitter-watcher's Introduction

Kinesis Twitter Watcher

Kinesis Twitter Watcher is a script to get a Twitter streaming and send the data to Amazon Kinesis. You can watch any tags you want, get and send tweets about them to Amazon Kinesis.

I used this as part of a personal Data Lake project. You can see the big picture below.

twitter watcher big picture

However, you can use this script however you want.

Installation

You need to have Python 3.6+ in your development environment to run this script.

In order to install all dependencies, you can simply run this command.

pip install -r requirements.txt

For production environments...

I strongly recommend using a virtual environment.

Config file

Before run this script you need to create a Kinesis Stream and a developer account on Twitter. You will fill config.ini file with your own config info provided by Twitter and AWS.

Running

To run this script you need to send the tags you want to watch as argument, using comma as delimiter.

python watch.py bolsonaro,bonoro,bozonaro,bolsomito,mito,mitonaro,salnorabo,coiso,bonossauro

kinesis-twitter-watcher's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.