Skip to content

audreyfeldroy/tweepy-utils

Repository files navigation

tweepy-utils

A set of Python utility scripts for Twitter account management, using Tweepy.

Based on various Tweepy snippets found online. See CONTRIBUTING.md for the credits and details on how to contribute.

Installation

First the Twitter developer setup:

Then install tweepy-utils from the Python Package Index:

$ mkvirtualenv tweepy-utils
$ pip install tweepy-utils
$ mkdir tweepy-utils-data
$ cd tweepy-utils-data
$ cp config.ini.example config.ini

Finally open config.ini and add:

  • Your Twitter username
  • API key/secret
  • Access token/secret

Usage

List people who don't follow back:

$ list-nonfollowers.py

Unfollow people who don't follow back:

$ unfollow-nonfollowers.py

Advanced Configuration

If you have multiple Twitter accounts, create a your-twitter-username.ini file for each account.

Then use the -c argument to run a script with a particular .ini file:

$ list-nonfollowers.py -c your-twitter-username.ini
$ unfollow-nonfollowers.py -c your-twitter-username.ini

About

A set of Python utility scripts for Twitter account management, using Tweepy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published