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.15-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d23b9d1d35cbc4cad531a24dc2c26b132183bc9febc00343f3aa486c0bde2d52 |
|
MD5 | b26c9b6733b2318e6b518d411e98e2b6 |
|
BLAKE2b-256 | d1947913f2aef64ef3eb6c319cd6e37c584adb2827bfcd5c2ffbd1ddfb094ed0 |
Hashes for techgram-1.0.15-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b989aa8d24333bc5d9ea37732a1b4cd2943b3cffb8472116f7af41ad7ad371de |
|
MD5 | 46200049a7b248a0414a5c2f618a9471 |
|
BLAKE2b-256 | 933fd18d74ef544c0f0e486ac4d3cf330ea4e59a1964fca76df26b28e0cf5559 |
Hashes for techgram-1.0.15-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 165bafc5ede249951f974642a40cf856b225cb9eac427e165fc65eb44c049953 |
|
MD5 | d994ca7d968579ba00ac130a7a2cda97 |
|
BLAKE2b-256 | 4895c6494b4c7d1e2d55306b8fe791ac7504401c1f5d1b0a87c2d30b917bfe4f |
Hashes for techgram-1.0.15-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12d84c9e4c0d1040a63e802868e6ce53b38351da0ba339f916956ea728a4f9b7 |
|
MD5 | f54813c05fe58532c247cc25c2ec0f90 |
|
BLAKE2b-256 | c29442c24ce1978f5637a6d12aa6ebf495c5349fb258665cba39767f63234a43 |
Hashes for techgram-1.0.15-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e22b99782a96f453d0fd26892fe94fc3aea5ff54996303ea72aa2f84f8e864eb |
|
MD5 | 38fa0f8c79fe0c13ab8224297ed92398 |
|
BLAKE2b-256 | 90d22ef19df6f1132ae7101c2f16b14cf236410ed40176fbe930fb2ab22dca2b |
Hashes for techgram-1.0.15-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50fc7eac035ceaf2011ea3476bbfb49aa415c4f5eebb141498246fc388cb2335 |
|
MD5 | 87b59d04dcc7ff5589d7cca12ff0e307 |
|
BLAKE2b-256 | 8c4c189db71fbacf5fd1ea9bb31424afbaafe43e74990c438bf3b9999f28707f |