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

Uploaded Python 3

File details

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

File metadata

  • Download URL: qbota-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 05922ab58bd680d0ababf65b9f9c9e5767d0e1457cdebd26320a22531a112ac9
MD5 e6dc93288f580b97a4c0cd560b343ecc
BLAKE2b-256 299888db9c53bed2fa9f3edbf38a10de9a7f9a5cf3d40f2551cd9d5fc7c44672

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qbota-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8fc60523e3daf2ae52a5fda808ff94d9897028868c4d24d1db709ad413092c5b
MD5 f52d1bdd8e074f578f6ce52fa69d24ea
BLAKE2b-256 c2c9882fb21ed76e49d96c53bbfa089b871e7314eb7399ef6fa1e8f79fce4aeb

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