Skip to main content

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

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 hashes)

Uploaded Source

Built Distribution

PyroTron-2.1.3-py3-none-any.whl (3.5 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page