Git Product home page Git Product logo

twip's Introduction

twip

Tweet Impact Predictor

DESCRIPTION

A natural language processing pipeline for predicting the impact (reach and popularity) of a tweet. Built as part of the PyCon 2016 Natural Language Processing tutorial and workshop.

Don't install the latest version from PyPi if you're working through the tutorial yourself! Tagged version numbers will correspond to sections of the tutorial and handout material so you can maintain pace even if you miss a step along the way. Plus it'll be easier to set up your API keys if you clone the repository.

GETTING STARTED

Rather than installing this module from the cheese shop, clone it to your laptop.

git clone [email protected]:totalgood/twip.git
# optional:
# mkvirtualenv twip
pip install -e twip
cd twip/docs/notebooks
ipython notebook

That way you can edit the source code. Even better, make your own fork so you can easily issue pull requests. Obviously it needs a lot of help.

GOT TWEETS?

To use the tweetget app, you also need a Twiter API key.

If you don't already have one, sign up to get a twitter user account like @yournewusername:

twitter.com/signup

And we'll be happy to be your first followers, just tweet us at:

Once you have a user account, sign into it, then create a new twitter app with an API_KEY:

apps.twitter.com/app/new

Copy and paste the Consumer API Key and Consumer API Secret into the indicated places in the file called settings_template.py but don't save it there. Instead save the file as a new file named settings_secret.py. This file is .gitignored during pushes. Do a git status to make sure you didn't accidentally save your secret KEYs in the template file or misname your settings_secret.py file. If you see that any tracked/added files have changes then you need to undo them before you do a commit and push to your fork of twip.

Alternatively, check out the settings_secret.py file for the environment variables you can set to hold these secret values.

CREDITS

twip's People

Contributors

hobson avatar eupharis avatar

Watchers

James Cloos 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.