Telegram Django Bot Bridge
Project description
This library provides a Python interface for creating Telegram Bots. The library combines Django and Python-Telegram-Bot. and provides extra powerful utilities based on this libraries.
By simple combining of Django and Python-Telegram-Bot you will get next opportunities:
Python-Telegram-Bot:
Python Interface for communication with Telegram API;
Web-sevice for get updates from telegram;
Django:
Django ORM (communication with Database);
Administration panel for management.
Telegram Django Bot Bridge provides next special opportunities:
using Django Forms;
using Viewsets (typical action with model (create, update, list, delete));
using Django localization;
using function routing like urls routing in Django;
creating tests;
creating general menu items with no-coding (through Django Admin Panel);
extra high-level Bot functions, such as wrapper for send delayed (or scheduled) messages;
collecting stats from user actions in the bot;
creating user triggers;
commonly used utilities.
Install
$ pip install telergam_django_bot
Quick start
Add “telegram_django_bot” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'telegram_django_bot', ]
Run python manage.py migrate to create the polls models.
Add TELEGRAM_TOKEN, TELEGRAM_TEST_USER_IDS, TELEGRAM_ROOT_UTRLCONF in settings for full use all library advantages.
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
Built Distribution
Hashes for telegram_django_bot-0.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b37b1b6d089638d09dec2e8ad6ed0504db23866908dd79e1acbfff08b86af768 |
|
MD5 | cd8f0d17ac6400cf5aff06111dfbb482 |
|
BLAKE2b-256 | 98414e4b224937a98fb4818912d3c93a9dec0050db9ae0f28e826268dba23b28 |
Hashes for telegram_django_bot-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7f5454024cf389b67d4ca9717f5ee45bbffa4156d0f43e258f8ae8a4b128bc6 |
|
MD5 | 6f94448defce10d9b00d588bc1fb9034 |
|
BLAKE2b-256 | 213bdcd9e0932a294e6d1b708c9243c28316ae10fc732f28ad5d3740956fdbd3 |