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.
Release files for ib3 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ib3-0.3.0.tar.gz | 19.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ib3-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.0 kB
Release files / ib3-0.3.0.tar.gz
| Download URL | ib3-0.3.0.tar.gz |
|---|---|
| Size | 19.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84bea870956e4c9340f9b3028f6cd577e07db2b7bf3667a22d76ad3c2792f6c6
|
|
BLAKE2b-256 checksum How to use checksums |
fb3f96be56d41406b4b1d7297f528d8d45cd794f57f5d41ae80f56d18b74a2fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / ib3-0.3.0-py3-none-any.whl
| Download URL | ib3-0.3.0-py3-none-any.whl |
|---|---|
| Size | 21.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b359aade973f6255d160c498716e797287978c230eca8ab5f912cce8dbd45e3
|
|
BLAKE2b-256 checksum How to use checksums |
131253be391d7c8f629ae884fd64aea8825e5597bf51baa227a0708b87c76f0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|