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

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.3.33
File Size Uploaded
dzgram-2.3.33.tar.gz 595.1 kB Details

Built distribution (wheel)

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

Total release size: 6.4 MB

Release files / dzgram-2.3.33.tar.gz

Download URL dzgram-2.3.33.tar.gz
Size 595.1 kB
Tags Source
SHA-256 checksum
How to use checksums
49486894f65fc9d5c568df58b6bed0d64f1a7f418f10d239701de6238ce8ccb4
BLAKE2b-256 checksum
How to use checksums
2944b790dad002460379a6baba2a9b9ef07843e73ada21a4389d052cfd4c8949
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.3.33-py3-none-any.whl

Download URL dzgram-2.3.33-py3-none-any.whl
Size 5.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ebdbe88f5f13c396fb1f756ca05d4bb518857c8c91bc8bb559cabf883a6fa6ca
BLAKE2b-256 checksum
How to use checksums
8c81fc5d98945ff5176e8ad8ea30397dd053d6553ac3c719cb08b257f429000d
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

This release

2.3.33 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