Skip to main content

Fork of pyrogram. Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots

Project description

Pyrofork
Telegram MTProto API Framework for Python
Homepage Documentation Issues Support Chat News/Releases

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 Pyrofork!")


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 Pyrofork, you can consider:

Key Features

  • Ready: Install Pyrofork 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.wulan17.dev to learn more about Pyrofork, get started right away and discover more in-depth material for building your client applications.
  • Join the official group at https://t.me/MayuriChan_Chat 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

pyrofork-2.3.69.tar.gz (506.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrofork-2.3.69-py3-none-any.whl (5.3 MB view details)

Uploaded Python 3

File details

Details for the file pyrofork-2.3.69.tar.gz.

File metadata

  • Download URL: pyrofork-2.3.69.tar.gz
  • Upload date:
  • Size: 506.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyrofork-2.3.69.tar.gz
Algorithm Hash digest
SHA256 945b30d50b31819a903749825e2748ac5a6af1e073bf97da8c53e510ff3ed58d
MD5 366d916513a1528f61e614b04f721644
BLAKE2b-256 86dac6e44522450483ca4a42130759a8dbc96e28c35e7ad041e16aca85c45756

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrofork-2.3.69.tar.gz:

Publisher: python-publish.yml on Mayuri-Chan/pyrofork

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyrofork-2.3.69-py3-none-any.whl.

File metadata

  • Download URL: pyrofork-2.3.69-py3-none-any.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyrofork-2.3.69-py3-none-any.whl
Algorithm Hash digest
SHA256 13f7a7fbfa5ede230df6b6df10fcc2c6b33b4c3d75bf2088a7d32f41621df8e4
MD5 256a665c262d599c9bceeffe2239f3af
BLAKE2b-256 eaec9395a0d3196a388a0ccd0994cf2113068b3740ab2615d8bbc1c12d762e42

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrofork-2.3.69-py3-none-any.whl:

Publisher: python-publish.yml on Mayuri-Chan/pyrofork

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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