Skip to main content

Connect telegram bots to your API

Project description

CI:

https://travis-ci.org/jlmadurga/microbot.svg?branch=master https://coveralls.io/repos/github/jlmadurga/microbot/badge.svg?branch=master Requirements Status

PyPI:

https://img.shields.io/pypi/v/microbot.svg

Docs:

Documentation Status

Connect telegram bots to your API.

The idea is to use it as microservice to host messaging bots leaving the application model into current APIs.

Documentation

The full documentation is at https://microbot.readthedocs.org.

Quickstart

Install microbot:

pip install microbot

Then use it in a project:

import microbot

Features

  • Telegram bots

  • Message handling definition with regex, as django urls.

  • HTTP methods: GET/POST/PUT/DELETE

  • Text responses and keyboards with Jinja2 templates

  • Asynchronous processing of messages

  • Media messages not supported

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements/test.txt
(myenv) $ make test
(myenv) $ make test-all

History

0.1.0 (2016-03-07)

  • 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.

Source Distribution

microbot-0.5.0.tar.gz (13.8 kB view hashes)

Uploaded Source

Built Distribution

microbot-0.5.0-py2.py3-none-any.whl (17.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page