Python Twitter library: which one?
Posted
by
Parand
on Stack Overflow
See other posts from Stack Overflow
or by Parand
Published on 2010-08-26T16:48:02Z
Indexed on
2011/11/28
9:51 UTC
Read the original article
Hit count: 406
I realize this is a bit of a lazyweb question, but I wanted to see which python library for Twitter people have had good experiences with.
I've used Python Twitter Tools and like its brevity and beauty of interface, but it doesn't seem to be one of the popular ones - it's not even listed on the Twitter Libraries page.
There are, however, plenty of others listed:
- oauth-python-twitter2 by Konpaku Kogasa. Combines python-twitter and oauth-python-twitter to create an evolved OAuth Pokemon.
- python-twitter by DeWitt Clinton. This library provides a pure Python interface for the Twitter API.
- python-twyt by Andrew Price. BSD licensed Twitter API interface library and command line client.
- twitty-twister by Dustin Sallings. A Twisted interface to Twitter.
- twython by Ryan McGrath. REST and Search library inspired by python-twitter.
- Tweepy by Josh Roesslein. Supports OAuth, Search API, Streaming API.
My requirements are fairly simple:
- Be able to use OAuth
- Be able to follow a user
- Be able to send a direct message
- Be able to post
- Streaming API would be nice
Twisted one aside (I'm not using twisted in this case), have you used any of the others, and if so, do you recommend them?
[Update] FWIW, I ended up going with Python Twitter Tools again. The new version supported OAuth nicely, and it's a very clever API, so I stuck to it.
© Stack Overflow or respective owner