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.6-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51f06b1e848b546ccdd1ca534350cae52466b82b0078709d197197eba5199fdf |
|
MD5 | fd0194f826e99f42fa26ab5fe5d818ee |
|
BLAKE2b-256 | 1b67fc03cde3c49a5c645e6a15c39de0eb8450b7434c6882bd144952bf6b2972 |
Hashes for techgram-1.0.6-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72ebbdac69f6218c9b79894a76877dfe4c7cdde076603e89861d6fcc012d1e1b |
|
MD5 | 680029b22af9b8fd2d46f46c777a15ce |
|
BLAKE2b-256 | 58899ff158ce82136183bef3021aa38ed40fd0342212c98fe4fd14dad4fc5af9 |
Hashes for techgram-1.0.6-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ed7ab48a62dfd01bd85d0dfd75c162521ad027c4c9bb4477737bb3dee8e6214 |
|
MD5 | cf55eff1ae7f11e019fe1a9ec2e14174 |
|
BLAKE2b-256 | e9f6fa4e8ff1172297143dcd9eafa173f254c50f84513d5d6eb00662fedfbcb0 |
Hashes for techgram-1.0.6-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df799d824a29609ce469f4d72810cf56cb0b46a95672fd62f030be234870c0b8 |
|
MD5 | d0c5362d59616bbdb44a0a0b0b1ab657 |
|
BLAKE2b-256 | f1402379f859a2b393d814bcec8e251091b5ac2a7f92dfa877c00ccc84f9efc8 |
Hashes for techgram-1.0.6-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 198dc691612f56bc7afb26106e1ff44857e1da3342889cee39e4e8c6ecb31bbc |
|
MD5 | af8ace997cc40348a7d84492b55510a5 |
|
BLAKE2b-256 | b806d72e08709377875521e0868780ac0b148d0a9e979ab6483af8222d70f0f1 |
Hashes for techgram-1.0.6-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5b2dced0c1e2efd4fd85c2769391ca3bbbf31f5004fade71194e01d45859baa |
|
MD5 | 22fa28c9f94324e6da8cc9784f99cda4 |
|
BLAKE2b-256 | 30df5a241455cb669e8e13f4fc717ff9161eaa010cbd5c6ff20bd97ed6956917 |