Skip to main content

Fork of Pyrogram v2.0.106

Project description

Pyrogram
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


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

Uploaded Source

Built Distribution

pyrogramv2-2.0.106-py3-none-any.whl (3.6 MB view details)

Uploaded Python 3

File details

Details for the file pyrogramv2-2.0.106.tar.gz.

File metadata

  • Download URL: pyrogramv2-2.0.106.tar.gz
  • Upload date:
  • Size: 322.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.26.0

File hashes

Hashes for pyrogramv2-2.0.106.tar.gz
Algorithm Hash digest
SHA256 411e8b3740146085794ab77bb40f9a14521cab992890bf87b1ce6ea5ff60773c
MD5 781438e7a4b5b46fa033a6abe207eb6a
BLAKE2b-256 895337613c3fc5d7a1944448a7d65a7f97d4a2d89047e41c9c26768d8c821a81

See more details on using hashes here.

File details

Details for the file pyrogramv2-2.0.106-py3-none-any.whl.

File metadata

File hashes

Hashes for pyrogramv2-2.0.106-py3-none-any.whl
Algorithm Hash digest
SHA256 6f5b1c28abea94a9fe4374bd991adbb69de5931a3593168da6ba90cf6d730a40
MD5 cee10121395be310c2daca836fd4faf2
BLAKE2b-256 499461f4b2ca775db72400616705c2c0b20101ba7ff4efa83866c95c12644c49

See more details on using hashes here.

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