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.17-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f0d6a8e5351c00142f322617d42d65040254c163f25987d04f90ba65709da0d |
|
MD5 | 04407c860a0e6241ee37a9f2cafaacab |
|
BLAKE2b-256 | 6d6747e8e78c1dc477d39f53814657b3a23151d3ae8bb8035bd5373c07651234 |
Hashes for techgram-1.0.17-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2fbdc4e69384491ed0c068ce634d08fc90a385188b5e1c5281d19bb262a5b73 |
|
MD5 | 27849d2af11cf4440c1cf1782eee40ff |
|
BLAKE2b-256 | 2cb90f7f322a4f2ad6cc3b732f6ac6d71bf31b76a5b872a99bf8ef663066c54a |
Hashes for techgram-1.0.17-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e35e5f230fc7c18c015724411cd2790f0b013fec306c554b6e287a87dbac056c |
|
MD5 | 2777606494207922e68bd90efb1547d0 |
|
BLAKE2b-256 | 9ad8c04424ea1dbc6a73daa8760077d13d3bf904590b3d5fe5b6746ef2e84360 |
Hashes for techgram-1.0.17-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45edbe34aa6835c7fda80287490b03a97e129bfde230a46f2068cdd40e7640e4 |
|
MD5 | 98e6755410399a0978a2225a7aca4498 |
|
BLAKE2b-256 | 8f974e12120341c0f40ef3a9f70c92d2a95dec14d228806b17af1299001bf108 |
Hashes for techgram-1.0.17-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b2084f2e811f2fcdf099676f64f7479774c20659d787186621af1fe8fa3a326 |
|
MD5 | 17f271fe0e09e149e3aa2fb02d1f17a9 |
|
BLAKE2b-256 | dedd9ea620818f519d413ec2faa39f51a507e3a3d13dddaa2ad175f315f64895 |
Hashes for techgram-1.0.17-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d156a3e7539ec00e59b14554cc59b26ce4de0c12c72e954b69418de3116dacf8 |
|
MD5 | e36c1ec021d15874c6307bf09f64ab4b |
|
BLAKE2b-256 | d8b06b2bd04dacb36fa41014376438ba9f9c3d6d1fc84003039337b0088677d6 |