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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file microbot-1.6.1.tar.gz.
File metadata
- Download URL: microbot-1.6.1.tar.gz
- Upload date:
- Size: 35.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac2cf7cb2502941a8018e41cd0deae396dd1cb4d9dfe1e9dc8e60c2127ec3ff8
|
|
| MD5 |
b11d87ac8c638811b06521d19af0a271
|
|
| BLAKE2b-256 |
93730fcf9bd4ced6100c28e97f48516a92a6d85ed56e9af5c61d69592cd8e8ce
|
File details
Details for the file microbot-1.6.1-py2.py3-none-any.whl.
File metadata
- Download URL: microbot-1.6.1-py2.py3-none-any.whl
- Upload date:
- Size: 56.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
717c1f20d5acdd24800d3cf183a8f7d19b4c7118f7f3ef09a4f7813f19d9ec06
|
|
| MD5 |
bbd39d00c82c2a932ac715311eb4a4dc
|
|
| BLAKE2b-256 |
95913e70338fb9db8e5c1a71731670cd2c5f873c7ef3e0cc04db0b299112f6c0
|