Skip to main content

Pyrogram
Telegram MTProto API Framework for Python
Documentation • Releases • News

Pyrogram

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()

Pyrogram 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 Pyrogram 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 TgCrypto, a high-performance cryptography library written in C.
  • 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 pyrotgfork

Resources

  • Check out the docs to learn more about Pyrogram, get started right away and discover more in-depth material for building your client applications.
  • Join the official channel at PyroTGFork and stay tuned for news, updates and announcements.

Metadata

Release files for sagarxfork 2.2.25

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

Source distribution (sdist)

Source distribution for sagarxfork 2.2.25
File Size Uploaded Provenance
sagarxfork-2.2.25.tar.gz 545.8 kB With provenance Details

Built distribution (wheel)

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

Total release size: 6.1 MB

Release files / sagarxfork-2.2.25.tar.gz

Download URL sagarxfork-2.2.25.tar.gz
Size 545.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5889c26ea6bf6d9953bc90c64c66b9de3e40f47fff46da0ad44b7a206d04f319
BLAKE2b-256 checksum
How to use checksums
2e018fbbe7e7ca22c2a728f5d0fa4a468f417e778b1974aea51228a48a17385d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Release files / sagarxfork-2.2.25-py3-none-any.whl

Download URL sagarxfork-2.2.25-py3-none-any.whl
Size 5.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3b3bcf48f780406a9121d00ed88b60080f70f79b4dd7e4b0f53fb0fc21f04804
BLAKE2b-256 checksum
How to use checksums
d943b8bc988a5ab6474722a1a1c9c493fff5a46019840053732c5378f2adec3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Security for sagarxfork 2.2.25

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sagarxfork-2.2.25.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

2.2.25 This release

2 release files Full provenance

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