Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Tweet Impact Predictor

Project Description

Tweet Impact Predictor


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. For more information see the tutorial repository.

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.


Rather than installing this module from the cheese shop, fork the repository on GitHub and then clone it to your laptop (replacing totalgood with your account name:

git clone
cd twip
git checkout v0.1.0

If you don’t already have one, sign up to get a twitter user account (@username):

Once you have a user account, sign into it, then set up a twitter App to get an API_KEY:

Copy and paste the Consumer API Key and Consumer API Secret into the indicated places in the file called but don’t save it there. Instead save the file as a new file named 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 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.

To get ready for the first workshop you’ll want to make sure you’ve checked out v0.1.0:

git checkout v0.1.0

If you want to skip the first session and move directly to the second session you can checkout v0.2.0. This with have all the code from the first workshop session completed for you.


  • Hobson Lane – Data Scientist for Talentpair
  • Rob Ludwick – Co-Instructor, helped craft the proposal and suggested the tweet optimization application
  • Jeremy Robin – Co-Instructor, helped develop the material
  • PyScaffold – Python package setup done right (the one obvious way)

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(50.7 kB) Copy SHA256 Hash SHA256
Wheel 2.7 May 29, 2016
(26.6 MB) Copy SHA256 Hash SHA256
Source None May 29, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting