Skip to main content

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 kuricrypt, a high-performance cryptography library written in Rust.
  • 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/kurigram-org/kurigram/archive/main.zip --force-reinstall

Optional dependencies

pip install kurigram[fast]     # kuricrypt 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.
  • Join the official channel and stay tuned for news, updates and announcements.
  • Join the official chat to communicate with people.

Metadata

Release files for Kurigram 2.2.27

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Kurigram 2.2.27
File Size Uploaded Provenance Actions
kurigram-2.2.27.tar.gz 851.4 kB Without provenance Details for kurigram-2.2.27.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Kurigram 2.2.27
File Interpreter ABI Platform Actions
kurigram-2.2.27-py3-none-any.whl Python 3 none any Details for kurigram-2.2.27-py3-none-any.whl

Total release size: 7.4 MB

Release files / kurigram-2.2.27.tar.gz

Download URL kurigram-2.2.27.tar.gz
Size 851.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f7338a8cce4885b2108a9b20daaf7bf75bea17d6da2fd13f1018fd4adb85b19c
BLAKE2b-256 checksum
How to use checksums
7db959d958f6383fc7bf79e9af051a861446bfcc887bcee62722fd059028cd32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / kurigram-2.2.27-py3-none-any.whl

Download URL kurigram-2.2.27-py3-none-any.whl
Size 6.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
75aee16496f104c553e3d742c825ea860943ddad180343da95b0273a60a0a90c
BLAKE2b-256 checksum
How to use checksums
5c2e02e8196b334c61fb7098240a6ca0a8451eebdecf4337de582a77a0bd9045
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for Kurigram 2.2.27

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.2.27 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page