Git Product home page Git Product logo

labeled-tweet-generator's Introduction

Tweet Sentiment Labeller

Search for Tweets and download the data labeled with it's Polarity in CSV format

View Live at https://twitter-sentiment-csv.herokuapp.com/

Development Guide

  1. Create a virtualenv. virtualenv venv
  2. Activate venv. source venv/bin/activate
  3. Install the requirements. pip install -r requirements.txt
  4. Save the ACCESS_TOKEN, ACCESS_TOKEN_SECRET, CONSUMER_KEY, CONSUMER_SECRET as environment variables. You can follow this guide for Heroku.
  5. Run the server. python app.py

Challenge

This video was a submission for a challenge on a youtube video series by llSourcell @Sirajology: https://www.youtube.com/watch?v=o_OZdbCzHUA

And was featured in the next video in the series: https://www.youtube.com/watch?v=9gBC9R-msAk

labeled-tweet-generator's People

Contributors

ayox avatar rhnvrm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

labeled-tweet-generator's Issues

Unable to run locally

When I try to exec > python app.py , it throws this error

Traceback (most recent call last):
File "app.py", line 8, in
api = TwitterClient('@Sirajology')
File "/home/naman/Desktop/labeled-tweet-generator/twitter.py", line 14, in init
consumer_key = os.environ['TW9Jd0pnZll4NUrVGsKDu7hdc']
File "/usr/lib/python3.5/os.py", line 725, in getitem
raise KeyError(key) from None
KeyError: 'TW9Jd0pnZll4NUrVGsKDu7hdc'

Where did I do wrong? Thanks

Unable to execute app.py

Whenever app.py is run, it shows some error in line 3 of app.py stating that no module name flask is found. When I try to install flask via pip, it shows flask perfectly up!

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.