Pyircbot is a project mainly written in Python, it's free.
A python irc bot
Dependencias atuais: python-irclib python-sqlalchemy