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.0.tar.gz (13.3 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.0-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qbota-1.0.0.tar.gz
  • Upload date:
  • Size: 13.3 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.0.tar.gz
Algorithm Hash digest
SHA256 ab348790ec043860658ea52da071386f64ebbc10c33f9a502234f311d5f0f2d6
MD5 cbba5ce1ae0dea2fa6e8d9775baefe72
BLAKE2b-256 94c28ead73753a5314a7d67675576f4c521e4ed4260b959ad90de4295b88e144

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qbota-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 20.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9406decac439ac976f1783f38d08a22935ac3b39ba85c38efae694b0e0219802
MD5 a8b177b53aa7bb0a46e0533c4148537c
BLAKE2b-256 8872063e5c57056aa9b324cbba453f0b5a764f07dea550f66e56a7e109d2a9c4

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