autoferrit / sir-bot-a-lot-2

Asynchronous bot framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sir-bot-a-lot

The good Sir Bot-a-lot. An asynchronous python bot framework.

Travis-ci status

PyPI status

Documentation status

Coverage status

Installation

Sir Bot-a-lot is available on PyPI.

$ pip install sirbot

Quickstart

from sirbot import SirBot

bot = SirBot()

plugin = MyPlugin()
bot.load_plugin(plugin)

bot.start(host='0.0.0.0', port=8000)

Plugins

Sir Bot-a-lot provide some plugins to connect to various services:

  • sirbot.plugins.github.GithubPlugin For Github.
  • sirbot.plugins.slack.SlackPlugin For Slack.
  • sirbot.plugins.postgres.PgPlugin For PostgreSQL.
  • sirbot.plugins.apscheduler.APSchedulerPlugin For APscheduler.
  • sirbot.plugins.readthedocs.RTDPlugin For readthedocs.org.

Changelog

dev

  • sirbot.plugins.slack.SlackPlugin allow returning aiohttp.web.Response in handlers.

0.0.5

  • Initial release of sirbot.plugins.readthedocs.RTDPlugin.
  • SQL update fix.

0.0.4

  • Initial release of sirbot.plugins.apscheduler.APSchedulerPlugin.
  • Routing on message subtype for sirbot.plugins.slack.SlackPlugin.
  • wait option for slack endpoint to wait the end of the handlers before responding.

0.0.3

  • Initial release of sirbot.plugins.postgres.PgPlugin.

0.0.2

  • Various bugfix in sirbot.plugins.slack.SlackPlugin.

0.0.1

  • Initial development release.

About

Asynchronous bot framework

License:MIT License


Languages

Language:Python 99.5%Language:Shell 0.5%