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

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.158
File Size Uploaded Provenance Actions
wpyrogram-2.0.158.tar.gz 544.9 kB Without provenance Details for wpyrogram-2.0.158.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for WPyrogram 2.0.158
File Interpreter ABI Platform Actions
wpyrogram-2.0.158-cp314-abi3-win_amd64.whl CPython 3.14 abi3 Windows x86-64 Details for wpyrogram-2.0.158-cp314-abi3-win_amd64.whl
wpyrogram-2.0.158-cp314-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 abi3 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for wpyrogram-2.0.158-cp314-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
wpyrogram-2.0.158-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.158-cp314-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Total release size: 17.8 MB

Release files / wpyrogram-2.0.158.tar.gz

Download URL wpyrogram-2.0.158.tar.gz
Size 544.9 kB
Tags Source
SHA-256 checksum
How to use checksums
345bed8b7ccd99566af10695eaac8784343a92acb267742075d126e548600eaa
BLAKE2b-256 checksum
How to use checksums
08e9caf743a8391f9f8b6a380b774277eeadebb664a6002200f87b349fa0450c
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.158-cp314-abi3-win_amd64.whl

Download URL wpyrogram-2.0.158-cp314-abi3-win_amd64.whl
Size 5.7 MB
Tags CPython 3.14 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
5a1181473e8adcfdb65e02e4066ec7cd39997aa67e6268813671919a7358e2f6
BLAKE2b-256 checksum
How to use checksums
202de243e2d253c12984ecd21d79e4328b49427ffdd74408e62d47d9162f0e7a
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.158-cp314-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL wpyrogram-2.0.158-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
a5a96d5fa4cfab15c7a87ad2877fb2df3d87c4b3c7ffb8ab1bbb71b1c03f21be
BLAKE2b-256 checksum
How to use checksums
32f78f3a1f0a12ccc229575dd2d858aedf956798e47b18158ee5eb6dd729f43b
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.158-cp314-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL wpyrogram-2.0.158-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
d0aca82c1080f284296d7daf3ba3f8286d7e450d3de299c60e6e03d8879fcd13
BLAKE2b-256 checksum
How to use checksums
cd247d3a92deb207fb64dfb809f3c7697e6ca866d25016239b41729723879718
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.158

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