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.6.dev3.tar.gz (4.2 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.6.dev3-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file pgram-0.0.6.dev3.tar.gz.

File metadata

  • Download URL: pgram-0.0.6.dev3.tar.gz
  • Upload date:
  • Size: 4.2 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.6.dev3.tar.gz
Algorithm Hash digest
SHA256 899ad5795f8320f3c2c0045bccb045b92c88f529df39ec67bf08d4e96da34106
MD5 8c62d036f616b5c31c31e3c0fd8107b4
BLAKE2b-256 332415066add0a61b9bf863e0f8b9dfc6f3cc1a0f101ef0983dbbf850c78b42a

See more details on using hashes here.

File details

Details for the file pgram-0.0.6.dev3-py3-none-any.whl.

File metadata

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

Hashes for pgram-0.0.6.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 9fe97b786aa260d0bd058b29470a07c3202b71b254a168008c9a9a0ecaf83205
MD5 3efb6a9f501571eb59d2f0ded08a9782
BLAKE2b-256 1cdbcb29bf494937e485a817e353e6375669a05ec9d8513ad829b9aab37466e4

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