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.13-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 558f8dbfc4d107801026d711a3bd1a3b09e9e41b5aa8588f3f255bd981a59c55 |
|
MD5 | 5b88535ae03a6fe26ce78a3901d1243a |
|
BLAKE2b-256 | 5ffa82a2ee3d3f624633930e57d3c54bfab92ba691ec8d98bec9af1cd2b78146 |
Hashes for techgram-1.0.13-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4e5407d67c0aa18ab016f7d56638dc537906d613e70f897eab4aac80e0e3c26 |
|
MD5 | 5428c78d5b2fa70693ecc8b6f07949e4 |
|
BLAKE2b-256 | c36bbc3f96da61ce69b0d16fe3368a85aafab240b0d8b16ab25bf21489f9c278 |
Hashes for techgram-1.0.13-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4b92ee07c8a443d7d7edef9a5c198d804214cb16534d8f924a951ea1571970d |
|
MD5 | 2aadce59347b5553952310e270ae0b86 |
|
BLAKE2b-256 | 5c8b071bc5b9b8ccb6311f37d63206f480514a0ce2b0ffead0551c3fce311fd4 |
Hashes for techgram-1.0.13-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abf1e660e77205e84ae624fb2dbf345c07151cae8ae89b82455d10c3221c33cf |
|
MD5 | 58919abe34843065aeeca2409f9f2979 |
|
BLAKE2b-256 | 5c5be5666f03607bd31a5298ea5bfe392727caba6c5d8316f5461c21b8b3b5a9 |
Hashes for techgram-1.0.13-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d61688d028647796de72bc1b680bf00ef129c765306b65e69c4d326f121be302 |
|
MD5 | c13ae4250a8f7f9696be46d56a3c0089 |
|
BLAKE2b-256 | 7a417d2d0bd80382d72785fcd05d98d80fe1e965f9037f868333d901ca3e6c51 |
Hashes for techgram-1.0.13-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69e3e70213b24adf91d6575d3f678d3a039ed24aaeaa5585dd6b3daf51e3339b |
|
MD5 | 631f188fe354daab54d96807969e530a |
|
BLAKE2b-256 | f6d67858b17d49e7e8e1cc9bcce088ff7d6b9a744f9f4196c8f3d66a52ecb2be |