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.18-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f039598c9e90de19762a79e2c5a2aa6d2069627b937f714300c0e0cf6f903845 |
|
MD5 | 74ae9e4f1b34e72881b2d14687ed0e4a |
|
BLAKE2b-256 | 2c360a7b6a6b44c553007ce3de467833cebf74d1c75eec3f48cdf6453e1474c0 |
Hashes for techgram-1.0.18-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9786b74c60a6fa5171e1233557f4aeba06eb2173526223a2510714903377a1ed |
|
MD5 | 75c310c62a0bd33723552718a9ef06b8 |
|
BLAKE2b-256 | 593974c1559d4e387b9fbab06ef0c75398a06ac714e7272043fc052e92b22532 |
Hashes for techgram-1.0.18-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c5903236a0d0e950ac67ac97c8ab8aeee6e0083a064ab2137afe66079c945c6 |
|
MD5 | 12f2a13d2366568dcaa47271910b3526 |
|
BLAKE2b-256 | 506f7e00a4bea8372634a659787ae2cc529fe62201f9bfd6dee7ccfc6b48a03d |
Hashes for techgram-1.0.18-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ba205f66d199d3fe0fa6065d931111247b010199cb5059e17ee3f7ba7a6b530 |
|
MD5 | bc03317d93afe9c8dc9c36e5eafafa9e |
|
BLAKE2b-256 | f7206091417b5b8a8595778bda5aa5530fafc14f3c63e4e9a45a3f41b5f0b585 |
Hashes for techgram-1.0.18-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8047661a07b5825f7bfc80bede4f12cca2bbd8cd4bd2fc766bbabeb2dd64e27 |
|
MD5 | d0d4adf55e689f5b940f9596dc17480c |
|
BLAKE2b-256 | 66cac5984bbb65efcc503af83ebadecf6ab33e8b1eae459c5b60a74fdc73a36a |
Hashes for techgram-1.0.18-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47e75069a9b6f8cc1477718e44d1be93516034d210e6b6a1d43452a7652a0458 |
|
MD5 | 54827bb1621484711d89e26b54885510 |
|
BLAKE2b-256 | aa720f06517048dff99a174d5e48c6c282adb9f84f17978966bca4d6dcd0f885 |