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.4.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.4-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pgram-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 4415a3cfe55c9d01999b46e48fac1d967e025bb5fc0779b346a133ee6b32c6b4
MD5 6b5c5af7f6bc6d887abc156a247db962
BLAKE2b-256 93a690afd76570178be6dab86e4f6b59c180455d739e34ed4f0eaac424b7bb12

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgram-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.4 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3856835ef06f1c3b9c87c76732508a157db16b5404a63031c112ad0a127247d0
MD5 fffc981a0f1b13cf6effc6c6a211130e
BLAKE2b-256 5a66cbf8fc3f88b434b3435841a3869f8b8fa960416199f5acfbe2b5b8ac9063

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