Skip to main content

Tweet @ your ISP whenever your internet speed is below what you pay for.

Project description

Installation

Simply install from PyPI like so:

pip install isptweet

Installation (from source)

Run

python setup.py install

Setup

First, you’ll need to obtain credentials from the Twitter API. Navigate to apps.twitter.com, and you should see the following page:

tutorial-image-1

Create your own application like so:

tutorial-image-2

And you should get some credentials (note that here, examples are used):

tutorial-image-3

Then grab the generated consumer key and secret, as well as your access token and secret. Then you’ll have to invoke the script with the proper environment variables. My preferred way of doing this is to create some script, for example launch-isptweet.sh, with the following body:

#!/usr/bin/env bash

export CONSUMER_KEY='CONSUMER_KEY'
export CONSUMER_SECRET='CONSUMER_SECRET'

export ACCESS_TOKEN='ACCESS_TOKEN'
export ACCESS_TOKEN_SECRET='ACCESS_TOKEN_SECRET'

isptweet testing 200 20

where all the value strings are your API credentials, and 200 and 20 are your download and upload speeds, respectively.

Project details


Download files

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

Files for isptweet, version 1.0.0a2
Filename, size File type Python version Upload date Hashes
Filename, size isptweet-1.0.0a2.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page