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.12-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1af3172786d825684043520a52175ffd00db2af61420a8e8fb37f0388ad63da1 |
|
MD5 | c8abd70931eae4ef313094ba4f3b4f7d |
|
BLAKE2b-256 | a960fb7452fa34673a05ab8772d076dd2aaeb770bdef1233465a20036c1c95e4 |
Hashes for techgram-1.0.12-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e160da5e896b4c2f60e4819be51336e8490ed8b27d118096af4577e5400a52c0 |
|
MD5 | ecb6b34b4e854d84c827dabfffd8149b |
|
BLAKE2b-256 | b84e0344e747739d61c31ffebf86cc840d02c2756d1c98077d39e2dc1dd58ce1 |
Hashes for techgram-1.0.12-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce52ee3368a02597f32cba9e65b39c49b815fa497be78e46bd300216fad346e5 |
|
MD5 | bd36300771036ca6d83270923c03bde7 |
|
BLAKE2b-256 | 4167ff13b9cb95ddc636a239f35b8aaf767d6dabed961232d6ee1fc9d68dfa42 |
Hashes for techgram-1.0.12-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f82e2468de08dd61540bd84e7a3411c0d1d441bbc20c7f7188382c5aa1750d26 |
|
MD5 | a29e44a7cd6f1b1a0834502d0badad9c |
|
BLAKE2b-256 | 03fc85f197363f33bb987358907888e4e1a90244f7791ad417cb483055371084 |
Hashes for techgram-1.0.12-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a319ff9e3d7421a5faa55f12f67ad916b5fc687cc3efe2f9fb5b7ac179d31c5 |
|
MD5 | 3eb17ec607d7782837672abdcfab8251 |
|
BLAKE2b-256 | 66c01ea3bcd88f138230a7931518c8b4e4bcfe1725d4ea05a37b1c4993b0dff2 |
Hashes for techgram-1.0.12-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63be5a4ffcb502905f76e8a11382944359abce4d3dbd5f914e2d7a202ccf47d7 |
|
MD5 | 930eda16bf04873b9bac189e98e2fd7e |
|
BLAKE2b-256 | 3633f04a3d0c0f8cb72d0c0a84676ea9ef312b4556016af1ab472b805c025d31 |