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.1.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.1-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_nublado_telegram-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 26fcd9f0d4bb704da636dba2d150be24537d8cf835df1f24988ecbfa25150f0a
MD5 d9c85e39590b3cea23053dce68781448
BLAKE2b-256 c3174465f6f4f1261f4df05b70cf2a4b30a415686abb69b612ed5d600830ef83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_nublado_telegram-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e25bd825f6ce63fb6cf1ca8e459cb225bd9985f6af42ba07f138ad72f863c555
MD5 1fadce470c1d96d5f050cc76dd7355c0
BLAKE2b-256 05b38e172edf78e5d36479292996cde358c459c2a2b08224349e83d7bac69c7d

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