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.9-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94d56f9683bc88557c68c77d75af12cae3da764d33521ebbc9d012b53603bea2 |
|
MD5 | 309f63056e49a54c686265d8db3de3a8 |
|
BLAKE2b-256 | faa84454fa70c9d022b822af2c5845d3a814e02316f576db8517b1ab5ddd53ad |
Hashes for techgram-1.0.9-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccb4784da2cfea4440a4358a15eacb940bc4c6e9a3f3d043ab267ffb8f9fcf1d |
|
MD5 | b8f104f0f300279d5c15f5100957b133 |
|
BLAKE2b-256 | dd727c122087b3dbce37a2e71332448841535eecf3ed6a7ba5b904212c102e6c |
Hashes for techgram-1.0.9-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7a623cdb95fa6cbf3030c141012c83044aef973779377841989eb40e946f6cc |
|
MD5 | 2ac900547dc165490e7578cdd769ca97 |
|
BLAKE2b-256 | 8b7186a5fa3de59da2d873bf0bce607e23e7edf6c2bcdd81ea0ec27174ed0719 |
Hashes for techgram-1.0.9-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c682d24fd9773e35a9ad03cb2bf8c386cdc1221b5becd0c18ede843025fc979a |
|
MD5 | 6844acd6f61d086d07948ee497e83532 |
|
BLAKE2b-256 | 2e89a6e450f685a2170b4ac35086be7d97005a606118bcf04e88999e95a20ac6 |
Hashes for techgram-1.0.9-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f16c38ae17fcfe53474222153e4a78c0d7f6215b93230535476b1e93c767410b |
|
MD5 | baacb3da731d97fbf0a44c06b130cfa6 |
|
BLAKE2b-256 | 012aaab8c456624771a62967406cb871250a3d6218a351bf885901ccf9ae6418 |
Hashes for techgram-1.0.9-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e3a18a90e598fdab5c8c2383eaa67bf039e3e030c0fab7e279159b121c4e0ca |
|
MD5 | a2eaf7b87703dbbbde30b0e298b6a524 |
|
BLAKE2b-256 | dcf5bf6c62cce4439e67e4a611818877ab37d33c41903de8f40c5aa021f79861 |