I was looking around the other day, and realized that there isn't a good
standalone Python implementation of a PuSH subscriber. There's some
AppEngine-specific code floating around, and a script [1] that can send
a subscription request but not receive updates, but no general-purpose
solution that I can find.
Therefore: http://bitbucket.org/pstatic/pubsubhubbub/
I'm mostly adapting the code from an earlier project of mine, which has
working PuSH subscriptions but is kind of a mess. So far the basic stuff
works - it can subscribe to topics, and receive authenticated updates.
My goal is to have something that's usable without any dependencies
outside of the standard Python libraries.
Feedback is appreciated!
[1] http://github.com/adamac/PuSH-Subscriber
--Ravi