I'm looking to incorporate twitter API features into an app engine project that I'm working on.
I'm relatively new to both app engine and python, so I'm wondering what modules/frameworks I should use to most easily incorporate twitter, and to facilitate twitter oauth?
I've seen:
python-twitter
tipfy
gaema
I heartily recomment tipfy
, but, as its author @moraes just said, it is its own, little, lightweight framework -- integration with others is possible (through WSGI middleware concepts), but your life is much simpler if you stick with a single framework, and django
is much richer (and, of course, much bigger and less simple -- those are two sides of the same coin;-) and very very popular.
I personally like the "very lightweight" approach of tipfy (and WSGI, and Werkzeug, on which it relies), but if you have to pick one single framework for a wide variety of uses, you could surely do much worse than going with the most popular one, that is, django (e.g. as this post suggests).
python-twitter is the strongest library for a do-it-yourself approach. You implement the API in your framework of choice. It is well-maintained code.
tipfy ported the TwitterMixin from Tornado, so you don't need to care about many implementation details. It is probably easier to get something done but it is integrated to tipfy, so you can't really use it as a library for other frameworks. Auth example is here.
gaema is also ported from Tornado, but it is unmaintained.
Theres also tweetapp, but the repository says that it is also not maintained.
Other frameworks may have similar helpers (or you can use a OAuth library).
Disclaimer: I'm author of tipfy and gaema.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With