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-Dev
A fork version elegant, modern and asynchronous Telegram MTProto API framework of Pyrogram library 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-Dev!")
app.run()
Pyrogram-Dev 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.
Key Features
- Ready: Install Pyrogram-Dev 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 --force-reinstall pyrogram-dev
Resources
- Join our official
telegram channel
and stay tuned for news, updates and announcements.
Special Thanks
- Pyrogram - Pyrogram is a original library source from which pyrogram-dev was built.
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 Distribution
Built Distribution
Hashes for pyrogram_dev-2.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29b2f2380aff08651c15d05817d5e6d8b1ac52ead19574feeb4f8fefb908192e |
|
MD5 | 7eb3e90abd8eeaf705335fa96013d3eb |
|
BLAKE2b-256 | 11a6edc305eaeb0cf758da663c55bec247b4b60cf1f528c5d5632319f1dfacea |