Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0.1.1

  • Support for block interactions

0.1.0

  • Migrate to poetry
  • Support for slack signing secret
  • 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.