Metadata-Version: 2.4
Name: PGram
Version: 0.0.8
Summary: Blazingly fast start async telegram bot on top of the aiogram with postgres channels
Author-email: XyncNet <code@xync.net>
License: MIT
Project-URL: Homepage, https://github.com/XyncNet/PGram
Project-URL: Repository, https://github.com/XyncNet/PGram
Keywords: aiogram,xync-net,postgres,channels,signals
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: aiogram
Requires-Dist: asyncpg
Provides-Extra: dev
Requires-Dist: build; extra == "dev"
Requires-Dist: python-dotenv; extra == "dev"
Requires-Dist: pre-commit; extra == "dev"
Requires-Dist: setuptools-scm[toml]; extra == "dev"
Requires-Dist: twine; extra == "dev"

# PGram

### Install
```sh
pip install PGram
```

### Minimal code for running
```python
### router.py
from aiogram import Router

r = Router()

@r.message()
async def del_msg(msg):
    await msg.delete()
```

```python
### main.py
from asyncio import run
from PGram import Bot
from router import r

bot = Bot("bot:token", [r])
run(bot.start())
```
