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.11-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3166642383cf057316de3b2ef48338636f26a0447212d2649ef7b3db8b656cc4 |
|
MD5 | f97c324eeaefe19692d8bcc29b361729 |
|
BLAKE2b-256 | a49db91625cfcb48515b4656e94ebacb554469f3e24cadd79888bdccf9c4a0b4 |
Hashes for techgram-1.0.11-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11444f9259c76160d10118d4cba9f5f11deaf7b7fa14659c6115cbf1b5d59181 |
|
MD5 | e4b6d510426391d86c38abb18786d541 |
|
BLAKE2b-256 | c33df8f5ad3107cdc2d48d27be875068b3d697d1966108a26301c9c41fada366 |
Hashes for techgram-1.0.11-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e3eb989900e2aa28803c3262448d79e08880321015e64a32c44c0606cbcb4c4 |
|
MD5 | e8c37002dbfb2e6e1b2f731052abe105 |
|
BLAKE2b-256 | 15a7d709aad5dc57ee42328faf02007b02edfa8f9ebe87e2b19a769ccdbd68cd |
Hashes for techgram-1.0.11-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1f4d8d47707241bcf40410c74c0e2036b03596c0b34fc6a85fd05d28cf4a9c1 |
|
MD5 | b8c46a7fe0c5fab304807087ddc044ae |
|
BLAKE2b-256 | bedb6fbf60b616048737e3eccba0a768221a7881a3591ed04ec3c8574417d2c6 |
Hashes for techgram-1.0.11-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2b74eebfe59f25d06098cb254fbe759118db552e4deec96d400acd8e19e935f |
|
MD5 | bcef998d2ea5bdeafff25f63b039526a |
|
BLAKE2b-256 | a80e6a952f894126bb007fcaff10ad68d8c4c63afa10f66005d3809a59bf6a1d |
Hashes for techgram-1.0.11-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18fd03f15023fa256c714d8267d16cd039f673624dc88159db839bb7ebeaa35f |
|
MD5 | fe865d4d1fb742945348911692ad1176 |
|
BLAKE2b-256 | 664de4364b76da8e84352b2fcc15d55f79dad72aa6462f22c456fd737ade0547 |