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.8-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ee6ad75fc0684a2dcca3a881b8616e9a68d73d913f5749089ed0dda0c747d28 |
|
MD5 | f8efe5c7e708e3470221a2f2fef22bab |
|
BLAKE2b-256 | 08410855aa53ebeba14a5e02fef0f81c756ece34eea0d7e85828ef3beac0c134 |
Hashes for techgram-1.0.8-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3367bb2412c96132fc42b8af438544fdb667ccf2692c9a8ab0851b8d06a606c |
|
MD5 | 56c7ac9a408ca8d01ef416dd413c6d08 |
|
BLAKE2b-256 | 5d6d5e94d9558fed7402f337a63e04b56b16ff0b4cd706438e5949535afeac4c |
Hashes for techgram-1.0.8-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a3086a382f135e09dd39ab647fe76d880cbfe9869a74ccb24d72c73c60e4101 |
|
MD5 | 1597566474fbde66b706bf8b78281aa5 |
|
BLAKE2b-256 | c7df60460c61e03484eef15e3b7c2106bbd1297a4171a9485f3e70028e3c56ed |
Hashes for techgram-1.0.8-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8b46471697dcc286c96e2480c71b82363aaf3921b1090396ec477d9cf22a178 |
|
MD5 | 7ba69e3b6a4eb11821432ae3a1e25282 |
|
BLAKE2b-256 | bb6a8f42ce2261917180e04383db934b3337df0e0e91cb53fa81e5c1a25f8e52 |
Hashes for techgram-1.0.8-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 600e4afbfd36c195ecf1526e484ef2b3edefa2a6ac172b00cadd40e4b9ddd707 |
|
MD5 | f6e92c2241573390c80bc0fc4f32c442 |
|
BLAKE2b-256 | 1b2b5da5b06f94a6b64d20c28ca9b1927e3ce3e1e52d4415de7fbb47b81babc8 |
Hashes for techgram-1.0.8-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c0eaab6e692123b4a1a9ca31bbc85dec39e4b54dc7168623fc2af8a2542901b |
|
MD5 | 504c96e4fde9c9f1da7d2702835283c1 |
|
BLAKE2b-256 | 8c46c121030fe826de9f35dd7c7cc2fece2229cd9fb41e1ee9772fa4a161b9c2 |