Profile
Back to NewsBack
GitHub Trending 2 min
Reader Mode
kurigram-org/kurigram: Kurigram — actively maintained Pyrogram fork with support for Gifts, Stories, Topics, business features and the latest Telegram updates.

kurigram-org/kurigram: Kurigram — actively maintained Pyrogram fork with support for Gifts, Stories, Topics, business features and the latest Telegram updates.

9 hours ago

Kurigram
Telegram MTProto API Framework for Python
Homepage • Documentation • News • Chat

CI Tests PyPI package version Downloads Python versions License

Kurigram

Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots

Kurigram is an actively maintained pyrogram fork for Python designed as a drop-in replacement for Pyrogram, Kurigram provides support for the latest Telegram features including Gifts, Stories, Topics, Business Accounts, and more.

from pyrogram import Client, filters

app = Client("my_account")

@app.on_message(filters.private) async def hello(client, message): await message.reply("Hello from Kurigram!")

app.run()

Kurigram 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

Kurigram is an open source project. Your support helps us maintain and improve the library, consider supporting its development:

  • kurimuzonakuma.ton - TON
  • TYAY3cVST3NY5mqs1M2qGV6PjXDjLLeC6v - USDT TRC20
Thank you for supporting Kurigram ❤️

Key Features

  • Ready: Install Kurigram 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

Stable version

`` bash pip install kurigram

Dev version
bash pip install https://github.com/kurigram-org/kurigram/archive/main.zip --force-reinstall
Optional dependencies
bash pip install kurigram[fast] # TgCrypto and uvloop for better performance pip install kurigram[qrcode] # QR code login support
``

Resources

  • Check out the docs to learn more about Kurigram, get started right
away and discover more in-depth material for building your client applications.
Chat with me