Skip to main content

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


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.10.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pgram-0.0.10-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file pgram-0.0.10.tar.gz.

File metadata

  • Download URL: pgram-0.0.10.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

Hashes for pgram-0.0.10.tar.gz
Algorithm Hash digest
SHA256 fe9cc3bd506adda392a2f0e30b2bab011cfb98f3e5d2249dd479e7980d3ba33a
MD5 53e9a967542f8e8f5198579351823ac0
BLAKE2b-256 26f8e640fec630d2344c049b4c8cf78baba4819eb9abc9f8b76d2fbf149c40b7

See more details on using hashes here.

File details

Details for the file pgram-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: pgram-0.0.10-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

Hashes for pgram-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 ad460d23510cf9562d7c023a3520d8606cbc8c058778b3e596b394e1bf915a81
MD5 1232d5f16560e8e6de3139f431233ddf
BLAKE2b-256 8f6fd967012eae931dbf69dd3aa61f96abacf05bf818936744dc36534b0ada5a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page