|Page Libre 91741757ed Some fixes for Python 3 port||1 year ago|
|COPYING||12 years ago|
|ChangeLog||12 years ago|
|Makefile||12 years ago|
|README||12 years ago|
|README.md||1 year ago|
|dccreceive||12 years ago|
|dccsend||12 years ago|
|ircbot.py||1 year ago|
|irccat||12 years ago|
|irccat2||12 years ago|
|irclib.py||1 year ago|
|python-irclib.spec||12 years ago|
|servermap||12 years ago|
|setup.py||12 years ago|
|testbot.py||12 years ago|
The home of irclib.py is now:
This library is intended to encapsulate the IRC protocol at a quite low level. It provides an event-driven IRC client framework. It has a fairly thorough support for the basic IRC protocol, CTCP and DCC connections.
In order to understand how to make an IRC client, I'm afraid you more or less must understand the IRC specifications. They are available here:
The main features of the IRC client framework are:
Unfortunately, this library isn't as well-documented as I would like it to be. I think the best way to get started is to read and understand the example program irccat, which is included in the distribution.
The following files might be of interest:
The library itself. Read the code along with comments and docstrings to get a grip of what it does. Use it at your own risk and read the source, Luke!
A simple example of how to use irclib.py. irccat reads text from stdin and writes it to a specified user or channel on an IRC server.
The same as above, but using the SimpleIRCClient class.
Another simple example. servermap connects to an IRC server, finds out what other IRC servers there are in the net and prints a tree-like map of their interconnections.
An example bot that uses the SingleServerIRCBot class from ircbot.py. The bot enters a channel and listens for commands in private messages or channel traffic. It also accepts DCC invitations and echos back sent DCC chat messages.
Receives a file over DCC.
Sends a file over DCC.
NOTE: If you're running one of the examples on a unix command line, you need to escape the # symbol in the channel. For example, use #test instead of #test.
Maintainer: keltus email@example.com
Original Author: Joel Rosdahl firstname.lastname@example.org