PyIrc module

sylvain HELLEGOUARCH shellegouarch at programmationworld.com
Mon Jul 7 18:52:50 EDT 2003


Hello everyone, 

This is my first message round here :) 

Well, my message is more or less an announcment of my pyirc module for 
Python (uh uh surprise this is the right place :)). 

This module tries to implement both RFC 1459 and 2812 about IRC protocol. 
I've decided to code my own module as Python has a lack of IRC ones. 
Generally speaking, either they are not up-to-date anylonger or they are 
written for a specific GUI. 

My module is far from being perfect right now but it provides : 

 - an easy way to connect/disconnect from any servers (damn those servers 
which don't respect RFC rules !!!!)
 - a way to join/part channels
 - a way to send private messages as well as notices
 - a way to ask the servers for some info (admin,stats,trace command for 
instance)
 - a way to ask a client for some info
 - almost full CTCP/DCC support (DCC chat/send/get are supported)
... 

Everything is done with modules included in Python 2.2.2 which means that 
you don't need extra modules. 

I've written two clients demos to show how it works. One with PyGtk 2 and 
the other with PyQt (3.6). I've planned to write a Zope product as soon as 
possible. 

The drwaback right now is mainly the lack of documentation. I must do some 
code clean-up as well. But the module works. 

You can find more info here :
http://pyirc.tuxfamily.org/
http://freshmeat.net/projects/pyirc/ 

Please try it and help to improve it. Im' not a Python guru so I guess there 
are some different ways to do what I've done so let me know. 

Bye for now.
 - Sylvain Hellegouarch





More information about the Python-list mailing list