Telegram MTProto API Framework for Python
Homepage
•
Documentation
•
News
•
Chat
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- TONTYAY3cVST3NY5mqs1M2qGV6PjXDjLLeC6v- 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
Optional dependencies
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.
- 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.26
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kurigram-2.2.26.tar.gz | 748.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kurigram-2.2.26-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 MB
Release files / kurigram-2.2.26.tar.gz
| Download URL | kurigram-2.2.26.tar.gz |
|---|---|
| Size | 748.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83b64fd7ab37122d920b1e7c0e221b599d7c52dd5d0d24c79956f01273020c49
|
|
BLAKE2b-256 checksum How to use checksums |
c14865efaaaaf24dc62d6f6ef046843952ff17b5358f9c7119303ceee6d53657
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / kurigram-2.2.26-py3-none-any.whl
| Download URL | kurigram-2.2.26-py3-none-any.whl |
|---|---|
| Size | 6.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f53cee6119a579b74620f45b5f83d543cd3bd510a8a6a1b4b3852e21603241e9
|
|
BLAKE2b-256 checksum How to use checksums |
2be0a00020c21725550c9309e6e03787acf7236de2f284c8d9bc57644ae2160a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|