Fork of pyrogram. Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
Project description
Pygram
Elegant, modern, and fully asynchronous Telegram MTProto framework for Python
Introduction
Pygram is a modern, elegant, and fully asynchronous MTProto API framework for Telegram, designed for both user accounts and bots. It provides a clean and intuitive Python interface to interact with Telegram’s core API, while still exposing powerful low-level capabilities when you need them.
Whether you're building automation tools, chat utilities, music bots, or full‑fledged Telegram clients, Pygram gives you the flexibility, performance, and developer experience you expect from a modern framework.
Quick Example
from pyrogram import Client, filters
app = Client("my_account")
@app.on_message(filters.private)
async def hello(client, message):
await message.reply("Hello from Pygram!")
app.run()
Key Features
- 🚀 Ready to Use – Install with pip and start immediately
- 🧠 Easy & Intuitive – Clean, Pythonic API
- ✨ Elegant – Developer‑friendly abstractions
- ⚡ Fast – Powered by TgCrypto (C based)
- 🧩 Type‑hinted – Excellent IDE support
- 🔄 Fully Asynchronous – Async-first design
- 🛠 Powerful – Full Telegram API access
Installation
pip3 install pygram
Or install the latest development version directly from GitHub:
pip3 install git+https://github.com/growxupdate/pygram.git
Pygram is built for developers who want speed, clarity, and full control over Telegram’s MTProto API.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dlgram-2.3.61.tar.gz.
File metadata
- Download URL: dlgram-2.3.61.tar.gz
- Upload date:
- Size: 478.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d9f49a2dc5f15c7ff16a2708373f34ba73d42d537a30565150351fe32b51f44
|
|
| MD5 |
773309616833c596159bf52348e439c7
|
|
| BLAKE2b-256 |
c22eb8e219bbfae5f4efc0d84a3de45fcb977c2ffb86dd10a5805112629e2e63
|
File details
Details for the file dlgram-2.3.61-py3-none-any.whl.
File metadata
- Download URL: dlgram-2.3.61-py3-none-any.whl
- Upload date:
- Size: 4.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e15e87cf5e3edc85a3243a8a9c7aef4883e90e4e8d60216fa9742bc1b97d4d98
|
|
| MD5 |
bfaa4c67d47ccc6a4cf9d95ad8462538
|
|
| BLAKE2b-256 |
f76a0372acb6b8050eb08a6469ecac2922ca56784ab18906415c03a482e018bd
|