Asynchronous bot framework
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
sirbot
tests
.flake8
.gitignore
.isort.cfg
.readthedocs.yml
.travis.yml
CODE_OF_CONDUCT.md
CONTRIBUTING.rst
LICENSE
Pipfile
Pipfile.lock
README.rst
setup.cfg
setup.py
tox.ini

README.rst

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.