Skip to main content

A Django app for Telegram bots.

Project description

django-nublado-telegram

An app for Telegram bots in Django using the python-telegram-bot library.


Features


Installation

pip install django-nublado-telegram
INSTALLED_APPS = [
    ...,
    "django_nublado_telegram",
]

Models

TelegramUser

A model for Telegram.


App settings

from django_nublado_translation.conf.app_settings import app_settings

app_settings.BOT_MODE

Available settings

Setting Default
BOT_MODE "polling"

Override

DJANGO_NUBLADO_TELEGRAM = {
    "BOT_MODE": "webhook",
}

Testing

pytest

Requires pytest-django.

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

django_nublado_telegram-0.1.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_nublado_telegram-0.1.0-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file django_nublado_telegram-0.1.0.tar.gz.

File metadata

  • Download URL: django_nublado_telegram-0.1.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for django_nublado_telegram-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e4e899646f13439b9e85dd0d4339e06ed21a17eb6533295debb7881448360813
MD5 d9a35f5fea57066fdab3b4bd1fed516d
BLAKE2b-256 53446e1fcdd614326191861f318a4f8c63e298733c64bb1ca9989c90223d7f58

See more details on using hashes here.

File details

Details for the file django_nublado_telegram-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_nublado_telegram-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 227c565086b1fd75f28b44aeacb5f1320c1ba972ebc1255220729b0cf551e6b6
MD5 dadcf8b0fb7f9dc25996b8d8b9bdca4a
BLAKE2b-256 c2b9e3c5608c501bb38d33f53b6ccb0c06cb89d84341002d8396a7a8ab22f2c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page