Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
Project description
PyroTron
Smart Fork of Pyrogram
from pyrogram import Client, filters
app = Client("my_account")
@app.on_message(filters.private)
async def hello(client, message):
await message.reply("Hello from PyroTron!")
app.run()
PyroTron is a fork of pyrogram, this fork consists of extra high level api methods which weren't added by Dan (Owner of pyrogram) in pyrogram, all credits of this library goes to him.
Installing
pip3 install PyroTron
Difference in Pyrogram & PyroTron
- There is no difference in Pyrogram & PyroTron, all the methods in Pyrogram are added in PyroTron, including some new extra methods which are not available in Pyrogram, both libraries are same.
Contact
- Join the official channel of PyroTron https://t.me/PyroTronOfficial and stay tuned for news, updates and announcements.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyroTron-2.1.3.tar.gz
(345.2 kB
view details)
Built Distribution
File details
Details for the file PyroTron-2.1.3.tar.gz
.
File metadata
- Download URL: PyroTron-2.1.3.tar.gz
- Upload date:
- Size: 345.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a03e1dae243c1715e617111daf10218133e55721dffea226113100abef68313b |
|
MD5 | 010731ac9e27efa3ecd98e9ac9e28229 |
|
BLAKE2b-256 | 416c26595e95169059ced71a72a6bf14fa2836ccf5c0a45615cf5168f82fbafc |
File details
Details for the file PyroTron-2.1.3-py3-none-any.whl
.
File metadata
- Download URL: PyroTron-2.1.3-py3-none-any.whl
- Upload date:
- Size: 3.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d47b2122a9ecb1e75f9fba52898ec09690ce0cd49b6264ed3e576a55f2f19db5 |
|
MD5 | 04b7824c2fe6c33693464a0f7b1da756 |
|
BLAKE2b-256 | 5d01be1a4687c7d3a06716ac7da0eff68aefad628fba06d56705911f3d05d44d |