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.connection import SSL
from ib3.mixins import DisconnectOnError

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

Installation

  • python3 -m pip install --upgrade ib3 (recommended)

  • python3 -m pip install . (from source distribution)

License

IB3 is licensed under the GPL-3.0-or-later 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.

Source Distribution

ib3-0.3.0.tar.gz (19.8 kB view hashes)

Uploaded Source

Built Distribution

ib3-0.3.0-py3-none-any.whl (21.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page