Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
Project description
Telegram MTProto API Framework for Python
Homepage
•
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.
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
pip3 install pyrogram
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for techgram-1.0.20-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69b3cdb8962eeb97625aa3636347b01e3b151e363c5d9449dba640283b41b9fe |
|
MD5 | 693a419f1fb00309929521174c3c6aed |
|
BLAKE2b-256 | 690c397680baad78d0a1d51b96977a138f093447b27f961de8654957acb79631 |
Hashes for techgram-1.0.20-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e80a898496203de33f8333c9426fe904dbd8b206ce7aba169ca90ca3e71afb0e |
|
MD5 | 70f777a8c2a6b2ee92ac95196f3baba1 |
|
BLAKE2b-256 | 63fe78d4540a9c8fcf300a8afc542f63d416fa66b2525491e40d49f1341b712d |
Hashes for techgram-1.0.20-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b29633d0d36660c17838923d8aa220fa569190248ed928189c4edfa89fc5c003 |
|
MD5 | 15e921029176e6ddd74d339837556262 |
|
BLAKE2b-256 | 281a71bf32a1c91bccb2515a4a20efc2b87f9356edf2a0fee85de1dd64e76bb4 |
Hashes for techgram-1.0.20-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69b2eeda0390e722e391f304a98acb9f29ec45cb3167b016c1d3f3e51ccaa2c7 |
|
MD5 | b1220f22665b664cb7c656c896146e94 |
|
BLAKE2b-256 | 9aee94881393e4aa0e95bec7af87625b74607a5ec0f295606af0e755a6348bc9 |
Hashes for techgram-1.0.20-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 259e527f37523985729375fd4f15036feeb07410eb947f8de75a10f2a82e032f |
|
MD5 | 9454bb782ebda04a4d92c653f2522420 |
|
BLAKE2b-256 | 69d9892f7e83dad088086ff3ab022487fd9e4ae115e28e41371f47110e5469c4 |
Hashes for techgram-1.0.20-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0a149d5f0af99826cb920596dfbacd1c3cdbb344d98faf1bea1f5a0b9185e86 |
|
MD5 | 3346b9bffce1791fbaa74e69c36a6811 |
|
BLAKE2b-256 | c511f006f1d0bd1db00934a25f421f6f6f6d47dc7dfa61f2b6d002a3eb79e909 |