Skip to main content

Quantum Bot Async — асинхронный фреймворк для Quantum Messenger

Project description

qbota — Quantum Bot Async

Асинхронный Python-фреймворк для создания Quantum Messenger ботов. Полный аналог aiogram 3.x по архитектуре, адаптированный под экосистему Quantum Messenger.

Установка

pip install qbota

Быстрый старт

from qbota import Bot, Dispatcher
from qbota.filters import Command

bot = Bot(token="qbt_xxx", mode="polling", firebase_url="https://...")
dp = Dispatcher(bot)

@dp.message(Command("start"))
async def start(msg):
    await msg.answer("Привет!")

dp.run_polling()

Режимы работы

  • polling — чтение сообщений из Firebase Realtime DB
  • webhook — HTTP-сервер на aiohttp

Лицензия

MIT

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

qbota-1.0.2.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

qbota-1.0.2-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file qbota-1.0.2.tar.gz.

File metadata

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

File hashes

Hashes for qbota-1.0.2.tar.gz
Algorithm Hash digest
SHA256 f982cf43570468f480bff7467cde5579d29b92813a7819152a2c8906001fbd2d
MD5 4d613718e0f470307ac07cf0f5845d55
BLAKE2b-256 32a0bd695adcfee8e80d921c8aa8d22cb4c59edbaaf3ee2945000305cbbcfe69

See more details on using hashes here.

File details

Details for the file qbota-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: qbota-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for qbota-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 347a9a0300b849f6e686ab61456dbd12262d757d503fce4641a569b72a226729
MD5 84cd9c4a95eb77be0e29bcc6caebeddb
BLAKE2b-256 b4cd12fe448a83b4b809adfd32e1196c8b180219a573cab6e58a45521d52c84d

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