Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
Reason this release was yanked:
Wrong package name
Project description
Telegram MTProto API Framework for Python
Homepage
•
Documentation
PyroFork
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()
PyroFork 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 pyrofork
Resources
- Check out the docs at https://pyrofork.mayuri.my.id to learn more about PyroFork, get started right away and discover more in-depth material for building your client applications.
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 PyroFork-2.1.4.dev202303203721.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d6a67cd79c3bd358453d5167d0aa91a8001d8d94bd11b83189ce641d9f66992 |
|
MD5 | de31d7f1d6c0ea405b2c7d1e84dcc1ed |
|
BLAKE2b-256 | 0b9ea28dba533ac6dfaa43d5390b6f816cb4725109cbb4dfea4125403be688c9 |
Hashes for PyroFork-2.1.4.dev202303203721-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6adafde791dff13a0bb38dea9e2db6ba914457b0013f7f993b0486db66d45f6 |
|
MD5 | 88f15378a7dec9a5ef1605d46421fed7 |
|
BLAKE2b-256 | 7549d3b164b6bcfa057906b83de490b1d8b0145758f1e1d82b1054d509e089eb |