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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
qbota-1.0.2-py3-none-any.whl
(20.3 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f982cf43570468f480bff7467cde5579d29b92813a7819152a2c8906001fbd2d
|
|
| MD5 |
4d613718e0f470307ac07cf0f5845d55
|
|
| BLAKE2b-256 |
32a0bd695adcfee8e80d921c8aa8d22cb4c59edbaaf3ee2945000305cbbcfe69
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
347a9a0300b849f6e686ab61456dbd12262d757d503fce4641a569b72a226729
|
|
| MD5 |
84cd9c4a95eb77be0e29bcc6caebeddb
|
|
| BLAKE2b-256 |
b4cd12fe448a83b4b809adfd32e1196c8b180219a573cab6e58a45521d52c84d
|