TwitterBackup.py is a simple script to create a full archive of a user's unique Twitter activity:
- Tweets
- Sent Direct Messages (DMs)
- Received DMs
TwitterBackup (currently) fetches the password for the account from the Mac OS X keychain, by looking for an "Internet password" entity with a host containing "twitter.com" and an account name matching the given username.