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.16-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22572cb89f780d9ec05b8ad80b8818c8f2f37d28367f8d220fad209399248f62 |
|
MD5 | 6de8b87d826bbb37f4fd369c6427dce1 |
|
BLAKE2b-256 | cc085e2c12c861b56d7126a0a75e91cf4f8f62d793e207d9cd770a8d9e738c63 |
Hashes for techgram-1.0.16-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71212b6467b9a9d2e382d601a932f5fb786361a82f358694adf583b72b48b52e |
|
MD5 | 15a13a1c82d42b673f72043597287908 |
|
BLAKE2b-256 | f28601be05fcce5c713fad57729eda4c8b9df817f54ebcb1528c4b5b56117e11 |
Hashes for techgram-1.0.16-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bfab64154b492a83982b1533314ecf13e409a7db16ac4c12796426dd2a93794 |
|
MD5 | 389b58bb5050cb60c72418d367a66b99 |
|
BLAKE2b-256 | d39c8d9d68f64bd0f5793eccb5c412433fde5021cac237a43c457f15b651c82e |
Hashes for techgram-1.0.16-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b4fbbcf8df5788cf76626954d1e05ea3494acc14288be89367d6fa4e1a11d40 |
|
MD5 | 3febb45cff22a7fb8caf97e4f025f0f3 |
|
BLAKE2b-256 | 53cab1c5c4fbce0556e6cfb5a0a5401aa33c15be7a7587c129b2d198b91e6cda |
Hashes for techgram-1.0.16-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9a0a8ae7db6451ccec76f5299a799c0f7f52b1fafb5ed89414380687e28b444 |
|
MD5 | d05d5a2df837194dedf8c457e35bd2a4 |
|
BLAKE2b-256 | 0113932f0763c75a7eb330f0df3ad8e7a9cf1ffb9ed9c38a19aed9afbc276c6b |
Hashes for techgram-1.0.16-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3423d379fc150bb4393477816a562d5ee517643bc921547503a73a57651fd7fe |
|
MD5 | c55b40c76b733feaeb6668b5ae700e2e |
|
BLAKE2b-256 | 6c1369091ee3ee7f833b9095d1def5efb51c0adeab527ae6cae54f37816c3ebc |