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.14-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfb883cf21cdc16137055e3b860e95d080fb0c5a76e4518aa252a881baf768a3 |
|
MD5 | 1bd71c666d5567d5be3e609af934376c |
|
BLAKE2b-256 | 883c3b94873599fce20825a3b9feb765a9b2aaba54d5b77e7bbb410ef1d2b235 |
Hashes for techgram-1.0.14-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2285c8aa29a63b19947496f011e7ea7774e949fb28704e099858c8b800eb737 |
|
MD5 | 016b6f6f12cb2e211eb1142e2cd18a8e |
|
BLAKE2b-256 | 7c1d56140bbc1649c48de6e529495ff41610788431bba66fdbfd0d696e1afe99 |
Hashes for techgram-1.0.14-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17ec6a5570e5932ea4514d4a4d95dffd2e9115dba8087d7f9d8f877d9f0c99c1 |
|
MD5 | 516d4323c120c63bb82acf8d04f3e060 |
|
BLAKE2b-256 | b3e3d06d3c1c2ab03c30313290b3b1c7621552459baa00a25d199e4b26d765b4 |
Hashes for techgram-1.0.14-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e34295ddde21df81c4ff8be2b97e86576b364bb730aee5f669d22b0ceb9e1114 |
|
MD5 | 159e467a29edb38d58883e1994f36063 |
|
BLAKE2b-256 | ddb3b2f03b5a8f3758b5137707df90cc08194bfc132a36de2c0f3ed06abddd5e |
Hashes for techgram-1.0.14-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9f36be98e0b67b921f491cb0c949d47328cd3d2b27492a2e3e77fcfedb0c9d6 |
|
MD5 | cebf51446266695699545793ff4cb1cc |
|
BLAKE2b-256 | faca986329661db4320a45cbd8cf74aef0e10589bfe73546ea50ea66516b5be8 |
Hashes for techgram-1.0.14-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8ca403da8d206ac3607d4bc3e4b6450e304b199bcabde28b1bdd73d5984159a |
|
MD5 | fe2466b51782d8e60a1d3b410bfabc8c |
|
BLAKE2b-256 | 895436adaf82a10d71a400a3a272f42ec51e36bec6506cd2b8897ad39601d336 |