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.5-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d194015f70894514c1e4000334b6d38c5e5465e802b08f028fe4c79b1e472eb2 |
|
MD5 | 9b019d0d2e50a31b808fc4ef25f14174 |
|
BLAKE2b-256 | 3312819571fef9f1c0851ddb4b133aedfc0bfdade14a9932f8ab9944651ad252 |
Hashes for techgram-1.0.5-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbc531a431d0438ef9bad4d93f900f51193359a4024d6b8eee48adc822b1656b |
|
MD5 | b9a00ca710f1540a91c99fb4379c335b |
|
BLAKE2b-256 | 522e06d3060313acd719c39f4e579541319469ab8abd3b5bbb2d29c00c03b782 |
Hashes for techgram-1.0.5-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afa3947e10c6b3820ba5ddd723b4eb7b0fc14f16c4abca44a41144a38da1338e |
|
MD5 | 6310d0590ce802569b05e027c97c7610 |
|
BLAKE2b-256 | 3015825e1d9cc6f88a01c3b2bd1555e1ea6111d882da5da25741f9dc156feb55 |
Hashes for techgram-1.0.5-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f6deec3e52eb6df7fbcd470e503fb6b2f69bcd7998bd4ae333c429f679b6fdd |
|
MD5 | 33e7c3817c47799e0576347811b87190 |
|
BLAKE2b-256 | e20e8f87de095dd18542ceb96dd6d81d495508e08db312e982036a28b5273a77 |
Hashes for techgram-1.0.5-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e22bdcb4fcc4fc691deee5619a85988f20750294a271c4447a7ab8b7363111e6 |
|
MD5 | ccd3c43fc45f4f05ab00f8fa8c4dd564 |
|
BLAKE2b-256 | afaa7e3f120fc795fafa08895c5f3001392ba81b36722b643da51152079e9284 |