Skip to main content

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

GETTING STARTED

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 git@github.com:totalgood/twip.git
cd twip
git checkout v0.1.0

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

Once you have a user account, sign into it, then set up a twitter App to get 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.

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.

Credits

  • 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)

Metadata

Release files for twip 0.0.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for twip 0.0.14
File Size Uploaded
twip-0.0.14.tar.gz 26.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for twip 0.0.14
File Interpreter ABI Platform
twip-0.0.14-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 26.7 MB

Release files / twip-0.0.14.tar.gz

Download URL twip-0.0.14.tar.gz
Size 26.6 MB
Tags Source
SHA-256 checksum
How to use checksums
ac3f4982f22a193a2dc5e8be20576dd551d932b0cdf72cde35eadd4985673e6c
BLAKE2b-256 checksum
How to use checksums
e3d16c23749ab6744147fd45bc2ec006add8b1d0c238564adceeb8636baa1633
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / twip-0.0.14-py2.py3-none-any.whl

Download URL twip-0.0.14-py2.py3-none-any.whl
Size 50.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
699a239759c4160b093c7b7ec7225e3a03315b4956b00352100c94fa94a6a3c1
BLAKE2b-256 checksum
How to use checksums
51e4635b905dd6d327d98bf8f2f403952a802eaf45518bf5a2c8a68d31d288c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.14 This release

2 release files

0.0.13

2 release files

0.0.11

1 release file

0.0.10

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.3

2 release files

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page