Skip to main content

IRC bot framework using mixins to provide common functionality

Project description

IRC bot framework using mixins to provide commonly desired functionality.

Overview

The irc python library’s irc.bot.SingleServerIRCBot provides a nice base for making a new bot, but there are many common tasks needed by a robust bot that it does not handle out of the box. IB3 collects some commonly desired behaviors for a bot as mixin classes that can be used via multiple inheritance:

from ib3 import Bot
from ib3.auth import SASL
from ib3.connections import SSL
from ib3.mixins import DisconnectOnError

class TestBot(SASL, SSL, DisconnectOnError, Bot):
    pass

Installation

  • pip install ib3 (recommended)
  • python setup.py install (from source distribution)

License

IB3 is licensed under the GNU GPLv3+ license.

Credits

Some code and much inspiration taken from Wikimedia irc bots Adminbot, Jouncebot, and Stashbot.

Project details


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
ib3-0.1.1-py2.py3-none-any.whl (10.6 kB) Copy SHA256 hash SHA256 Wheel 2.7
ib3-0.1.1.tar.gz (20.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page