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

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.30
File Size Uploaded
dzgram-2.2.30.tar.gz 580.7 kB Details

Built distribution (wheel)

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

Total release size: 6.3 MB

Release files / dzgram-2.2.30.tar.gz

Download URL dzgram-2.2.30.tar.gz
Size 580.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1d4e4632b504b71d4904ad7cbe1e9de12b412dbb00dfa487f58f505629a77393
BLAKE2b-256 checksum
How to use checksums
c3f694c2b302f94408c9d1f9c3b26d52c50d08a2ef3891b193634b3cab581851
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.30-py3-none-any.whl

Download URL dzgram-2.2.30-py3-none-any.whl
Size 5.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3b62c931cfbf5d3fb665d486822184202acc7fc7e89a072f163187222f073108
BLAKE2b-256 checksum
How to use checksums
c35321175733c32288164a2b645e6544ece95b31040ee046cf7c49d3b061efbf
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

2.2.31

2 release files

This release

2.2.30 This release

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