A simple application that gives a sense of various emotions in tweets
- Create a virtualenv.
virtualenv venv - Activate venv.
source venv/bin/activate - Install the requirements.
pip install -r requirements.txt - Save Twitter Credentials and declare them in twiter.py where I have labelled "XXXXXXXXXX"
os.environ['CONSKEY'] = "XXXXXXXXXX" os.environ['CONSSECRET'] = "XXXXXXXXXX" os.environ['ACCTOKEN'] = "XXXXXXXXXX" os.environ['ACCSECRET'] = "XXXXXXXXXX"
- Run the server.
python analyzer.py