Skip to main content

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

Project description

Kurigram
Telegram MTProto API Framework for Python
Homepage Documentation News Chat

PyPI package version License Python versions

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

pip install kurigram

Dev version

pip install https://github.com/KurimuzonAkuma/kurigram/archive/dev.zip --force-reinstall

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.
  • Join the official channel and stay tuned for news, updates and announcements.
  • Join the official chat to communicate with people.

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

xn_pyrogram-2.2.23.tar.gz (603.5 kB view details)

Uploaded Source

Built Distribution

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

xn_pyrogram-2.2.23-py3-none-any.whl (5.8 MB view details)

Uploaded Python 3

File details

Details for the file xn_pyrogram-2.2.23.tar.gz.

File metadata

  • Download URL: xn_pyrogram-2.2.23.tar.gz
  • Upload date:
  • Size: 603.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for xn_pyrogram-2.2.23.tar.gz
Algorithm Hash digest
SHA256 cd9e2b4571bf0385c0d615e4339c33e6f879bbe5cc1e694d1c66694d50a334d5
MD5 131769d5bebd0ceca8c417eefc3a5473
BLAKE2b-256 66d393599f604ad72629dd40230a60ea2e949f82c8606f6395f583ee7e904949

See more details on using hashes here.

File details

Details for the file xn_pyrogram-2.2.23-py3-none-any.whl.

File metadata

  • Download URL: xn_pyrogram-2.2.23-py3-none-any.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for xn_pyrogram-2.2.23-py3-none-any.whl
Algorithm Hash digest
SHA256 9de86d618a92909c0ca3d6755ec6093cb7565ceab55c4db7318d1113d4b1457f
MD5 5e22791ed9747df97405fe2d04943c5f
BLAKE2b-256 6b193a81232bfad3933e5120c0a54f783875b9ae7309f82b0bd1f18ff641d332

See more details on using hashes here.

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