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.10-cp312-cp312-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd1aabd3010b0f30fd677917dd26d81029b23f505f19f33d210054013c14377a |
|
MD5 | 8058d8f9ed5de5c033bcc9787fb607f6 |
|
BLAKE2b-256 | 8070056baacd2089b5774309998e32bb26e4911fcb6720a36fa588874cad133e |
Hashes for techgram-1.0.10-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06070839b6c4344ce33ed16d77cc9e6afe679708fa4434e778d81d9fd405f24d |
|
MD5 | d419289358ef943f2a52c3df12cbddb1 |
|
BLAKE2b-256 | 77a08585623d7390c9a7d9d5cd9d9b7086b8f36d89f3cde280a0d11128591aeb |
Hashes for techgram-1.0.10-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2323976bdc267792dc2ed085701eb16d03d556c5652d2ce201921afe3c6159a1 |
|
MD5 | a01241b2080010fe960b814a08ccca57 |
|
BLAKE2b-256 | ac82b9b2c1333ff6b89b14fa6ddc2480aa18d1ee8e717be1190f7c3c86c446ea |
Hashes for techgram-1.0.10-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1754b4501642653f366a3443faa77d2210e2e3ab547e60e5686ef446363532cf |
|
MD5 | a7c4eb2e24fb35e9b983d967d41df935 |
|
BLAKE2b-256 | c8398eb604b4f5d62dad59ee939468ba2fdf5f253509cf34dc3e85de0628dc39 |
Hashes for techgram-1.0.10-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b87a670cf6714c8e51dafeb176d6c6e34dfcffcdb9215b26757f76811ac4398 |
|
MD5 | b2b8155cb0fbadeb43fcdff6a9a13267 |
|
BLAKE2b-256 | c2d249bde9529309254f5b21970fd47044941570ef611a2c95b68c38584976f1 |
Hashes for techgram-1.0.10-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c8b980fc4821c4e71d8e3f2c79a5bfa10a74df3ba137b730252d2bb6e9fe861 |
|
MD5 | a93041ea0be1361c749426ee66b705fe |
|
BLAKE2b-256 | f84cfe754e0fe4b60ef6ec9a1e63da15df448b5686d6b991217fb49b516be4c6 |