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.9.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.9-py3-none-any.whl
(2.8 kB
view details)
File details
Details for the file pgram-0.0.9.tar.gz.
File metadata
- Download URL: pgram-0.0.9.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 |
55ac0844fb510f437050225fc5a9dd37a2dfd99edd96fcd3f7e386a284030541
|
|
| MD5 |
f2f66ca236018363188833a3e6713f64
|
|
| BLAKE2b-256 |
617d2f5e80ea455bcc1f446396f8c163f54c60e74da9be45bd4d1d486855c095
|
File details
Details for the file pgram-0.0.9-py3-none-any.whl.
File metadata
- Download URL: pgram-0.0.9-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 |
ea932a71d66bf90bc22070ba8eda924b5ad4f229723acc6cbb9c186cfd11f770
|
|
| MD5 |
7812859467b6063959f2bf2f24fa225d
|
|
| BLAKE2b-256 |
3c9bcf4aff7540e7773822add6ecb7df5b03fb3fab989f84c19e175e8411cbce
|