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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pgram-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 8ae18e7eb77c38bc3d516c14db97440e03d35587eb130065af7ef745148a548a
MD5 1c48727c12aefebdf76e6eb0b97d29ef
BLAKE2b-256 fd7b2942469f11a2e0d896a52c25d03e124af3ea5a5394537c4d9f6e4c3f037b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgram-0.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a09d8163e77b3ff6567f48d7006af51c79dd58ac9ebce3a73a2e769e678b16fe
MD5 b5481dda220f10b4e88c82f9d9eeeb78
BLAKE2b-256 4abbf87bca374cd7df35a75b47d2ec64d37fe552f823ae120a021e4a9c88c327

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