Connect telegram bots to your API
Project description
CI:
PyPI:
Docs:
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
Release history Release notifications | RSS feed
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.18.0.tar.gz
(29.3 kB
view hashes)
Built Distribution
Close
Hashes for microbot-0.18.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53c974e56819345172272a264e155c5c6b720d7ef06f5cb4ae4bec719cbd7f9c |
|
MD5 | 070c3722c73c801293547c0b6239013e |
|
BLAKE2b-256 | bdbb3ca51167e6b690e395baa08f768303877e4906ee27420d968e25f1583c1e |