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.33.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kudubot-0.33.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.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

File hashes

Hashes for kudubot-0.33.0.tar.gz
Algorithm Hash digest
SHA256 8310f50ec676f3d2c3ce5c7505c0a5e36cc4d3cb0ce82e4a2c550a0f59a40540
MD5 e1864bed3db3c027623170d6f4b77c9e
BLAKE2b-256 ef50c042f8f4eabd22bbb86120637e2a8d5b24c903847ee2a8104e5261a3735f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kudubot-0.33.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.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

File hashes

Hashes for kudubot-0.33.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28b0d7730116ea99bfe836052e3fa010a5b84230d5b9402440aa4482bc6d1f84
MD5 da6fbd61865702e254c0f3ae7130b817
BLAKE2b-256 da425145f330795dc615034082853287d6c58d4dd4506466567dc03ff93f8b7a

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