Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gallettilance/tweet-monitor

Analysis of real time collected tweets 📈
https://github.com/gallettilance/tweet-monitor

analysis docker exploratory-data-analysis machine-learning mongodb neural-network python singular-value-decomposition statistics svm tweepy tweet-monitor tweets twitter-api

Last synced: about 2 months ago
JSON representation

Analysis of real time collected tweets 📈

Awesome Lists containing this project

README

        

# Tweet Monitor

## Follow along with jupyter

[Here](Notebook/Collection-And-Analysis-Of-Tweets.ipynb) you will find a walk through of the analysis.

## Prerequisites

#### Without Docker

* download mongodb

* run:

sudo service mongod start

* install the pip requirements

pip install -r requirements.txt

* Create a file keys.txt with your twitter keys

* Navigate to PyFiles and run:

python3 pymongo_tweepy.py

#### With Docker

* install docker

* create a file keys.txt with your twitter keys

* delete the .dockerignore file so that your keys.txt are copied into the container

* run:

docker build -t tweet-mongo:latest .

* Once this completes, run

docker run -itd --name=tweet-mongoc tweet-mongo

* Check that the container is running, using:

docker container ls

* Run:

docker exec -it tweet-mongoc /bin/bash

* within the container, navigate to PyFiles and you can now run

python3 pymongo_tweepy.py