The ZeroMQ-Powered Challenge-Bot
The Web Dev Zone is brought to you in partnership with Mendix. Discover how IT departments looking for ways to keep up with demand for business apps has caused a new breed of developers to surface - the Rapid Application Developer.
BitBucket user flowblok posted code for his IRC bot named "challenge-bot." It's pretty short. Only 155 lines. He has Python to thank for that. Another cool technology you can see in use within his code is ZeroMQ.
You can see he's using gevent-zeromq which combines ZeroMQ and the GEvent coroutine-based networking library. Line 43 is when ZeroMQ starts to strut its stuff. It's just another example of the diversity of applications that ZeroMQ can power.