Skip to main content

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

Pyrogram - Woto's experimental fork

Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots

WARNING: We merge changes made to few of pyrogram forks plus changes made by us to this repository. All the features are just customized feature mostly for personal use; there is no guarantee in them being stable, USE AT YOUR OWN RISK. All of the repositories that we merge (some) features from are listed in Extra.md file.

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.

Support

If you'd like to support Pyrogram, you can consider:

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

NOTE: in order to use WPyrogram, please uninstall pyrogram first.

pip uninstall pyrogram
pip install 'wpyrogram'

Resources

  • Check out the docs at https://docs.pyrogram.org 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 https://t.me/pyrogram and stay tuned for news, updates and announcements.

Metadata

Release files for WPyrogram 2.0.159

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

Source distribution (sdist)

Source distribution for WPyrogram 2.0.159
File Size Uploaded Provenance Actions
wpyrogram-2.0.159.tar.gz 545.5 kB Without provenance Details for wpyrogram-2.0.159.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for WPyrogram 2.0.159
File Interpreter ABI Platform Actions
wpyrogram-2.0.159-cp314-abi3-win_amd64.whl CPython 3.14 abi3 Windows x86-64 Details for wpyrogram-2.0.159-cp314-abi3-win_amd64.whl
wpyrogram-2.0.159-cp314-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 abi3 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for wpyrogram-2.0.159-cp314-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
wpyrogram-2.0.159-cp314-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.14 abi3 Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details for wpyrogram-2.0.159-cp314-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Total release size: 17.8 MB

Release files / wpyrogram-2.0.159.tar.gz

Download URL wpyrogram-2.0.159.tar.gz
Size 545.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d2c47f8c7ef70e17a65fc0312874a7e1038e8f2fd0ef3e5e55acdf6aac065e46
BLAKE2b-256 checksum
How to use checksums
2a10cf31865087de138c3511828855f6e54795e7d25e3045ef5c7286bc866612
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wpyrogram-2.0.159-cp314-abi3-win_amd64.whl

Download URL wpyrogram-2.0.159-cp314-abi3-win_amd64.whl
Size 5.7 MB
Tags CPython 3.14 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
721a41911d01ab557d3e3b1f34b5df7819d0214f29fcd29e06677a6aebab5c38
BLAKE2b-256 checksum
How to use checksums
c5fcce666832415858052373a7a30475d3c8210f3a2690ed7a310ab84677af53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wpyrogram-2.0.159-cp314-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL wpyrogram-2.0.159-cp314-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 5.7 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
2e980c3bb4736d0848b907859c5a53be97b874601234dc657fe99a1c6609dfc7
BLAKE2b-256 checksum
How to use checksums
d5bda330c49cf6fdf7e80ed061d6186b11f963d6d2edf927f070e5a781cb566d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / wpyrogram-2.0.159-cp314-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL wpyrogram-2.0.159-cp314-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 5.7 MB
Tags CPython 3.14 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
497863bc935f19ebe12ca5fe1c3218b21029677e23c1d5fbda079d9f824d1f5d
BLAKE2b-256 checksum
How to use checksums
e57585121b3b8aea34ab541e291b25f305cbdd2645e0d9d0a48affe5f3303f78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for WPyrogram 2.0.159

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.159 This release

4 release files No 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