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
File details
Details for the file pyrogram-dev-2.1.1.tar.gz
.
File metadata
- Download URL: pyrogram-dev-2.1.1.tar.gz
- Upload date:
- Size: 410.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bf10c470f11e7001ded901bf049b1ac9380c9dd0850653e65bce3aab22f2454 |
|
MD5 | 852206136f2987dc58c98893d088c97d |
|
BLAKE2b-256 | 27e5a771cb83cf99b19b46a73b41500c24250800932be3b6f05f24d856c7b268 |
File details
Details for the file pyrogram_dev-2.1.1-py3-none-any.whl
.
File metadata
- Download URL: pyrogram_dev-2.1.1-py3-none-any.whl
- Upload date:
- Size: 4.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29b2f2380aff08651c15d05817d5e6d8b1ac52ead19574feeb4f8fefb908192e |
|
MD5 | 7eb3e90abd8eeaf705335fa96013d3eb |
|
BLAKE2b-256 | 11a6edc305eaeb0cf758da663c55bec247b4b60cf1f528c5d5632319f1dfacea |