Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A fully functioning multi-threaded IRC client.

Project Description

This is a multi-threaded IRC bot that was designed to connect to multiple networks and load multiple modules. An example bot would look like:

#!/usr/bin/env python
from __future__ import unicode_literals

from mtirc import bot
from mtirc import settings

config = settings.config
config['nick'] = 'nick'

def thing(**kw):
    if kw['text'].startswith('!whoami'):
        kw['bot'].queue_msg(kw['channel'], 'You are {0} with the host {1}.'.format(
            kw['sender'].nick, kw['sender'].host))
    return True

config['modules']['whoami'] = thing

b = bot.Bot(config)
b.run()

Features

  • Nearly every thing is configurable
  • Settings can be set for an individual connection or globally
  • Can use as many parse threads as set in config
  • Will attempt to reconnect if disconnected
  • Will disable modules after too many exceptions
  • More to come!

License

  • Released under the MIT License

Release History

This version
History Node

0.2.1

History Node

0.2.0

History Node

0.1.0

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
mtirc-0.2.1.tar.gz
(5.7 kB) Copy SHA256 Hash SHA256
Source None Jun 7, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting