Blazingly fast start async telegram bot on top of the aiogram with postgres channels
Project description
PGram
Install
pip install PGram
Minimal code for running
### router.py
from aiogram import Router
r = Router()
@r.message()
async def del_msg(msg):
await msg.delete()
### main.py
from asyncio import run
from PGram import Bot
from router import r
bot = Bot("bot:token", [r])
run(bot.start())
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
pgram-0.0.6.dev4.tar.gz
(4.3 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
File details
Details for the file pgram-0.0.6.dev4.tar.gz.
File metadata
- Download URL: pgram-0.0.6.dev4.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d03d9dfb181e57113d458b180c18d88787f3017ea51db94ddd4faa688aa82e00
|
|
| MD5 |
4595968c24c37a6db7c37ce1f1c40fca
|
|
| BLAKE2b-256 |
4d19a27f4c89b0cdcdb4d0d51c952ca7ab8bbdc4b5d70dd3a91c2846893b12a3
|
File details
Details for the file pgram-0.0.6.dev4-py3-none-any.whl.
File metadata
- Download URL: pgram-0.0.6.dev4-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84f5d3f84a3317f08aa5f33eaa499faa4f511ec826808b30b3e871a4f024b71c
|
|
| MD5 |
b02d184362c3cd647c564b1377797683
|
|
| BLAKE2b-256 |
e9cae14702c590d806e49aa90aa570eaec3459bcbb4ea7911d09885eab0342ce
|