Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

The ZeroMQ-Powered Challenge-Bot

DZone's Guide to

The ZeroMQ-Powered Challenge-Bot

· Web Dev Zone
Free Resource

Learn how to build modern digital experience apps with Crafter CMS. Download this eBook now. Brought to you in partnership with Crafter Software

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.

challenge-bot


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.

Crafter is a modern CMS platform for building modern websites and content-rich digital experiences. Download this eBook now. Brought to you in partnership with Crafter Software.

Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}