An chat bot framework
Project description
Kudubot
| master | develop |
|---|---|
Kudubot is a chat bot framework designed to work with arbitrary messaging services based on bokkichat connections.
Installation
Installing bokkichat is as simple as running pip install kudubot, or
python setup.py install when installing from source.
Implementing a kudubot
To implement a kudubot, you'll need to create a class that inherits from
kudubot.Bot.Bot and implement the various on_X methods in the way
you want the bot to react.
Kudubot is meant to react on commands like /send 123. Those are
modelled using CommandParser and Command objects. Those are used to
automatically parse incoming text messages and are sent to on_command.
If you want complete manual control over what happens with incoming messages,
override the on_msg method. If you only care about text messages, do the
same for on_text.
To get an idea of how to implement a kudubot, have a look at some of these sample projects:
Further Information
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kudubot-0.24.1.tar.gz.
File metadata
- Download URL: kudubot-0.24.1.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae4e8752efc6437145f2ad2c48033f34700eaa6f6785d529ad8d61d69a4a7bdc
|
|
| MD5 |
1c988e78c15ed9a6fb96162b710a7acc
|
|
| BLAKE2b-256 |
4d744e0b03d43fe533dd15317450ad9e74e1d87e02182428fccf6f4be7cb6129
|
File details
Details for the file kudubot-0.24.1-py3-none-any.whl.
File metadata
- Download URL: kudubot-0.24.1-py3-none-any.whl
- Upload date:
- Size: 29.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca9d5630754fd8e680007b498e911fb871206e19df4006e042278669d63ea258
|
|
| MD5 |
0252282f4c2d75334713bd813f9c0031
|
|
| BLAKE2b-256 |
34f572e18c8c71091b1fff5287c747df68f6d077f5332b37861fe0792694bec8
|