https://github.com/audreyfeldroy/tweepy-utils
A set of Python utility scripts for Twitter account management, using Tweepy.
https://github.com/audreyfeldroy/tweepy-utils
Last synced: 4 days ago
JSON representation
A set of Python utility scripts for Twitter account management, using Tweepy.
- Host: GitHub
- URL: https://github.com/audreyfeldroy/tweepy-utils
- Owner: audreyfeldroy
- License: other
- Created: 2013-01-01T22:25:52.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-08-29T21:29:45.000Z (almost 2 years ago)
- Last Synced: 2025-06-13T11:05:21.833Z (4 days ago)
- Size: 10.7 KB
- Stars: 24
- Watchers: 4
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# tweepy-utils
A set of Python utility scripts for Twitter account management, using [Tweepy](https://github.com/tweepy/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:
* Create a Twitter app at https://dev.twitter.com/apps.
* Grant your Twitter app read/write privileges.
* Create an access token.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.iniFinally 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