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.19-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 693fed9e9c0e3e844d5ebe35aee208ec26b18016a2468a7c889262e34efbfc36 |
|
MD5 | 26766918884752f382634baaa999220e |
|
BLAKE2b-256 | 512ad7a12ef05a24d13f98e98f7e9eb13147cfedb4a45f7aae6ec7bae66db912 |
Hashes for techgram-1.0.19-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ba651e793b52462766dd35cd39f1d7ad5c5bd321fc4b664ae5fa39a289af832 |
|
MD5 | b480687786ab3f22df78f077ad8fecc3 |
|
BLAKE2b-256 | 7c41aefaa8b36243e1ced64f50074fd9c5a49355baf12a6c4aada0a001564ff8 |
Hashes for techgram-1.0.19-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c837eb9e1134138d7eb230da53ca4f888d2c7ea1941dfa45cc22d57e73e43d82 |
|
MD5 | 490ff58dfd06e2778bdb91fc1456b90e |
|
BLAKE2b-256 | 3fc86220107fdc2b7715b0a838d9cbf365102467fffc7b4c71f51a8fe2c47ab6 |
Hashes for techgram-1.0.19-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8ccf0b56219e51dd0103fe5f712da8ac40a91fc709658608fb339c6c07f7948 |
|
MD5 | 6ab8766bff1bb1c1cad472cb831625dd |
|
BLAKE2b-256 | b1a289158ea5be69eb5dbf853485b934931ae692c29b38ee468f6599ab5483a4 |
Hashes for techgram-1.0.19-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3d9bfc3d8649157732400248e82b8421dfb0d1f83eb967e386ee46242378aad |
|
MD5 | b07d4cc36470a5c48a47602ec69d6b1d |
|
BLAKE2b-256 | d4fb0aee3c28b1297af86b8666a1d76b1c6718125778bb0acfcf7b4fdc9beafc |
Hashes for techgram-1.0.19-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 721940d0e52eeedbe5cda25d48b93dd95f5e8a6502825c7d1635c91fc6457251 |
|
MD5 | 038fd4bdb40a0f74c02522208170e652 |
|
BLAKE2b-256 | a7ab3167bc28118c94ea1ed94d2388f0550021f920a11d830bfa411d3b515409 |