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.31

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.31
File Size Uploaded
dzgram-2.2.31.tar.gz 580.2 kB Details

Built distribution (wheel)

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

Total release size: 6.3 MB

Release files / dzgram-2.2.31.tar.gz

Download URL dzgram-2.2.31.tar.gz
Size 580.2 kB
Tags Source
SHA-256 checksum
How to use checksums
76ec2127d73eeb5fbb0192eec26172c730b0494c69fff4627dfe85107b878162
BLAKE2b-256 checksum
How to use checksums
071f3262c8a002f9c00cebe82454d3873a7342f7e5a415db803363ab3170e2a1
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.31-py3-none-any.whl

Download URL dzgram-2.2.31-py3-none-any.whl
Size 5.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
908db6e842266c250feaeb1b0715ac03c3201f6beb004f71e2ec5b079f451148
BLAKE2b-256 checksum
How to use checksums
873249a2d6ce805ce6f571e278eee358a396225cab6d04ed9459cb468ea98e96
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.31 This release

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