Skip to main content

DzGram
Telegram MTProto API Framework for Python
Documentation • Releases • Channel • Support

DzGram

Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots

from pyrogram import Client, filters

app = Client("my_account")


@app.on_message(filters.private)
async def hello(client, message):
    await message.reply("Hello from Pyrogram!")


app.run()

DzGram is a modern, elegant and asynchronous MTProto API framework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot identity (bot API alternative) using Python.

Key Features

  • Ready: Install DzGram with pip and start building your applications right away.
  • Easy: Makes the Telegram API simple and intuitive, while still allowing advanced usages.
  • Elegant: Low-level details are abstracted and re-presented in a more convenient way.
  • Fast: Boosted up by WarpCrypto, a high-performance cryptography library written in Rust.
  • Type-hinted: Types and methods are all type-hinted, enabling excellent editor support.
  • Async: Fully asynchronous (also usable synchronously if wanted, for convenience).
  • Powerful: Full access to Telegram's API to execute any official client action and more.

Installing

pip3 install dzgram

Resources

  • Check out the docs (source in docs/) to learn more about DzGram, get started right away and discover more in-depth material for building your client applications. Build them locally with cd docs && make html.
  • Join the official channel and stay tuned for news, updates and announcements.
  • Get help and discuss in the support group.

Release files for dzgram 2.2.32

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dzgram 2.2.32
File Size Uploaded
dzgram-2.2.32.tar.gz 581.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dzgram 2.2.32
File Interpreter ABI Platform
dzgram-2.2.32-py3-none-any.whl Python 3 none any Details

Total release size: 6.3 MB

Release files / dzgram-2.2.32.tar.gz

Download URL dzgram-2.2.32.tar.gz
Size 581.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a73addb26270713b2cdd9fccbcee492edc7677ab808b1576d449a94409254781
BLAKE2b-256 checksum
How to use checksums
77ff1ee619812bcdcd0eb226fc1399bc0bcc8d79e5c7ab051f689681eb70a528
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / dzgram-2.2.32-py3-none-any.whl

Download URL dzgram-2.2.32-py3-none-any.whl
Size 5.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
24cb7c40587fb15983b458287d659c446f8ef3a73ea407f70b985bf3a3b1225e
BLAKE2b-256 checksum
How to use checksums
94f4e14457c4fd492c7885aee7bfe03dd8ed458776c727c126ebf71c9b937a9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

2.3.35

2 release files

2.3.33

2 release files

This release

2.2.32 This release

2 release files

2.2.31

2 release files

2.2.30

2 release files

2.2.29

2 release files

2.2.28

2 release files

2.2.27

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page