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.
Release files for pyrotgfork 2.2.24
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyrotgfork-2.2.24.tar.gz | 544.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyrotgfork-2.2.24-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.3 MB
Release files / pyrotgfork-2.2.24.tar.gz
| Download URL | pyrotgfork-2.2.24.tar.gz |
|---|---|
| Size | 544.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
890516ec8a05594c96cac1fd74d3f8ca55c4dc383937f9e5527968412f8f6fde
|
|
BLAKE2b-256 checksum How to use checksums |
e46cb1c12b2f5ad1b826d6f905b6dad20419b8a51209d4e2ba48d1bb77d6db24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 16, 2026.
Transparency logRelease files / pyrotgfork-2.2.24-py3-none-any.whl
| Download URL | pyrotgfork-2.2.24-py3-none-any.whl |
|---|---|
| Size | 5.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87a979003c38fdc88251d599ad75d28603b6fc16fb7ba726e6dc9f780c278507
|
|
BLAKE2b-256 checksum How to use checksums |
250b32a30566fd4c0188d15dda209cc7d0002e6f891e1ace0528f0c4cfbf9d7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 16, 2026.
Transparency log