Skip to main content

An chat bot framework

Project description

Kudubot

master develop
build status build status

Logo

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, which delegates them to on_<command name> methods by default.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kudubot-0.32.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

kudubot-0.32.0-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file kudubot-0.32.0.tar.gz.

File metadata

  • Download URL: kudubot-0.32.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

File hashes

Hashes for kudubot-0.32.0.tar.gz
Algorithm Hash digest
SHA256 e4ab348f1dfcb3933eafdf6159965f9e2c93093beb06b43e0c1b04894a8ae7f7
MD5 fa6daa37982299704479c11807fb2dc0
BLAKE2b-256 95cc83fd1863504cf434372b3773528fcce59e4ac874e57fbb737516446a50bf

See more details on using hashes here.

File details

Details for the file kudubot-0.32.0-py3-none-any.whl.

File metadata

  • Download URL: kudubot-0.32.0-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

File hashes

Hashes for kudubot-0.32.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe0ae5415379069e79f7bf17e7537ce4d6150c609267f0d6c4e7a1dd36e4358b
MD5 63f06862508b441635ed3331c35416ed
BLAKE2b-256 b5d2d7888033dfbf9e01b3ad4a94bb412537109fb4dc87a670f0712576db9e4f

See more details on using hashes here.

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