Fork of Pyrogram v2.0.106
Project description
Telegram MTProto API Framework for Python
Homepage
•
Documentation
•
Releases
•
News
PyrogramV2
Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
from pyrogramv2 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 pyrogramv2
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 Distribution
pyrogramv2-2.0.106.tar.gz
(322.8 kB
view hashes)
Built Distribution
Close
Hashes for pyrogramv2-2.0.106-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f5b1c28abea94a9fe4374bd991adbb69de5931a3593168da6ba90cf6d730a40 |
|
MD5 | cee10121395be310c2daca836fd4faf2 |
|
BLAKE2b-256 | 499461f4b2ca775db72400616705c2c0b20101ba7ff4efa83866c95c12644c49 |