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.8.tar.gz
(4.6 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
pgram-0.0.8-py3-none-any.whl
(2.8 kB
view details)
File details
Details for the file pgram-0.0.8.tar.gz.
File metadata
- Download URL: pgram-0.0.8.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4376e7e7e4ab43b1377f9d66610fc041bede1a260c6c1acec84abf4064ab1c7
|
|
| MD5 |
d5ac5cda57aba67d620e870731bedc9b
|
|
| BLAKE2b-256 |
cff5dc8787f257ac897fa6687674d676d9300d3351c5fa5779e2c0a2c304803e
|
File details
Details for the file pgram-0.0.8-py3-none-any.whl.
File metadata
- Download URL: pgram-0.0.8-py3-none-any.whl
- Upload date:
- Size: 2.8 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 |
e1ae6ac51cac8c76ffe0ba9d81ecb7ba2d552e0d065bc80128faedbe392d1014
|
|
| MD5 |
e9ccbe3c03d87791001be9cf1ee41ed4
|
|
| BLAKE2b-256 |
12846d9c242d6b8971d88a01fc0312bab13cb223b1af620b58070dd7da2d7307
|