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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pgram-0.0.6.tar.gz
  • Upload date:
  • Size: 4.3 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.tar.gz
Algorithm Hash digest
SHA256 c1752faba53b9a27ad324bde5c2d5086ee88a6c1ea51bfb16d57024c15d9cb77
MD5 4f45c5a854d87d8d1437486240d72587
BLAKE2b-256 278350069de8b35405464e79d87219e658bd018ce148b01b01ee48a9f1bbcf15

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgram-0.0.6-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-py3-none-any.whl
Algorithm Hash digest
SHA256 aa3185b91dd036fdf6512709b4e7e770aef25adcc655d92d8faeaadda94e605a
MD5 2639727343523f417a6306863f05d212
BLAKE2b-256 0ff568399eed4bf1c89a5d234a08839bf1dc3e79578eee527487f578678bc543

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