Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ib3

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ib3

IRC bot framework using mixins to provide common functionality

  • 0.3.0
  • Source
  • PyPI
  • Socket score

Maintainers
1

============================= IRC Bot Behavior Bundle (IB3)

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_.

.. _irc: https://pypi.org/project/irc/ .. _mixin: https://en.wikipedia.org/wiki/Mixin .. _multiple inheritance: https://docs.python.org/3/tutorial/classes.html#multiple-inheritance .. _GPL-3.0-or-later: https://www.gnu.org/copyleft/gpl.html .. _Adminbot: https://phabricator.wikimedia.org/diffusion/ODAC/ .. _Jouncebot: https://phabricator.wikimedia.org/diffusion/GJOU/ .. _Stashbot: https://phabricator.wikimedia.org/diffusion/LTST/

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc