Skip to main content

A Bot framework to build bots with human manners

Project description

warning: Pengbo is currently in DESIGN

import pengbot
from pengbot.adapters import SlackRobot, Mention

def mybot(bot):
    bot.context = bot.context(
        api_token=os.environ.get('SLACK_API_TOKEN', None)

def talking_parrot(bot, message):
    yield from bot.says(':bird: %s' % message['text'] , channel=message['channel'])

if __name__ == '__main__':


$ pip install pengbot



  • Fuzzy string match for commands
  • Commands receive message context.
  • Listen all messages to trigger commands.
  • Adapters for Slack, XMPP, Twitter.
  • Message stream filters.
  • Message stream middlewares.
  • Stream response messages.
  • Natural Language Processing?.

Example ideas

  • Auto linking for Jira Issues.
  • Attach user mentions to issues as comments in Jira.
  • Bots talking to bots.
  • Voting and Polls.

Project details

Download files

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

Files for pengbot, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size pengbot-0.1.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page