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 instant messaging bots to your APIs.

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, Kik and Facebook Messenger bots

  • Message handling definition with regex, as django urls.

  • HTTP methods: GET/POST/PUT/DELETE/PATCH

  • Text responses and keyboards with Jinja2 templates

  • Chat State handling

  • 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-1.7.3.tar.gz (40.4 kB view details)

Uploaded Source

Built Distribution

microbot-1.7.3-py2.py3-none-any.whl (64.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file microbot-1.7.3.tar.gz.

File metadata

  • Download URL: microbot-1.7.3.tar.gz
  • Upload date:
  • Size: 40.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for microbot-1.7.3.tar.gz
Algorithm Hash digest
SHA256 bb399e5b147dc69101068f4998b8cefa34567a3fe2e1f9d8c2fac9e332ca8a7b
MD5 6eea0f107605ec593cb06d22a35ae704
BLAKE2b-256 be4f21ad62627fd4c76e94cc8175421f0dac151b5ed59d723a2ebb81e434db05

See more details on using hashes here.

File details

Details for the file microbot-1.7.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for microbot-1.7.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f3011f0c47c098a68c5829c946eb0549f2d153b5f5f8786f372733f4c4d8ea48
MD5 0f6cc810f3a87094ae76671789d15717
BLAKE2b-256 52983feff0f98d5e5d27b13175bb3029c767bb10cc9eb5b203b424127a37b038

See more details on using hashes here.

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