Skip to main content

Yet another Bot implemented in pure Python.

Project description

MBot Documentation Status Updates

Yet another Bot implemented in pure Python. Is designed to support multiple backends with global state machine which can store shortcuts for your commands and more. Support user permissions for actions.


Message Backends

  • Slack
  • RabbitMQ (TODO)

Storage Backends

  • Local file
  • S3 file
  • Support encryption in default
  • DB (TODO)


  • Slack
  • SQL
  • AirflowTrigger
  • Bash
  • Saltstack (pepper client)
  • Joker (say some joke)
  • History (list of your commands, save shortcuts)
  • Help


  • Simple scheduler
  • User roles and permissions
  • Filebased config/state
  • Encrypted storage
  • Connections management
  • S3 storage
  • Dialogs
  • Auto installing of dependencies
  • Dynamic loading


pip install mbot


$ mbot run
Slack token: xoxb-46465446310727-654564564564654565456
Starting your BOT...
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1):


$ mbot config
{'core': {'backends': ['slack'],
          'config_path': '/Users/user/Library/Application '
          'data_path': '/Users/user/Library/Application '
 'logging': {'verbosity': 'INFO'},
 'slack': {'engine': 'mbot.backends.slack.Slack',
           'middlewares': ['mbot.contrib.system.Config',
           'token': 'xoxb-46465446310727-654564564564654565456'},
 'storage': {'encrypt': True,
             'engine': 'local',
             'fernet_token': 'oMdNGsFou566j4e3SL6cij3HR70D-xIqh58z30B2BAs='}}

Add user to admin group

mbot: users.all()
mbot: users.update("your_user_id", ["admin"], "groups")


  • Variables, management
  • Support Celery as executor
  • SSH
  • Use appdirs when data-path is not provied


0.1.0 (2017-02-09)

  • First release on PyPI.

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 mbot, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size mbot-0.0.2.tar.gz (18.2 MB) File type Source Python version None Upload date Hashes View
Filename, size mbot-0.0.2-py2.py3-none-any.whl (17.9 kB) File type Wheel Python version 3.5 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page