Skip to main content

A framework on top of Django and Python-telegram-bot for building Telegram bots

Project description


Ninagram is a Django app that let you build Telegram bots with the performant python-telegram-bot.

Do you have a Django website and you plan to back a telegram bot to it ? Then This library is for you. Even if you want to start a telegram bot from scratch you are good to go with Ninagram


pip install ninagram


Fresh start

create a new Django project

django-admin startproject myproject cd myproject

create a new app for your project

python startapp base

Then you can continue like with like an existing project

create the file that will contain the bot code

touch base/

add 'ninagram' to your INSTALLED_APPS in

then add this configuration to your

NINAGRAM = { "TOKENS": ['token_here'], "STATES_MODULES": ['base.states'], "WORKING_MODE": "polling", }

Then start the bot python startbot

Please note that you should be connected to internet for the bot to work correctly

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ninagram, version 0.1.1
Filename, size & hash File type Python version Upload date
ninagram-0.1.1-py2.py3-none-any.whl (43.7 kB) View hashes Wheel py2.py3
ninagram-0.1.1.tar.gz (25.4 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page