Registry / http-networking / kurigram

kurigram

JSON →
library2.2.23pypypiunverified

An elegant, modern, and asynchronous Telegram MTProto API framework for Python, supporting both user and bot accounts. Current version is 2.2.22, with active development and regular releases.

pip install kurigram
INSTALL
IMPORT
SIG · KURIGRAM
K
kurigram
http-networkingpythonv2.2.23
Install
5.0s avg
Import
Disk
57MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.2.23 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 58.2MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 5.0s · import 0.000s · 59MB
57MB installed
● package 57MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
from kurigram import Client
from pyrogram import Client
Kurigram is a fork of Pyrogram; using pyrogram imports will install the wrong library.
filters
from kurigram import filters
from pyrogram import filters
Use kurigram.filters, not pyrogram.filters.

Basic async client that sends a message to 'Saved Messages'.

import asyncio from kurigram import Client async def main(): app = Client("my_account", api_id=os.environ.get("API_ID", ""), api_hash=os.environ.get("API_HASH", "")) async with app: await app.send_message("me", "Hello from Kurigram!") asyncio.run(main())
Debug
Known issues
breakingKurigram is a fork of Pyrogram with a different package name. Installing kurigram and pyrogram together may cause conflicts.
fix
Uninstall pyrogram if you intend to use kurigram: pip uninstall pyrogram
affects: all
deprecatedSynchronous usage (e.g., Client().send_message without async) is deprecated and may break in future versions.
fix
Use async/await and run with asyncio.run().
affects: >=2.0
gotchaThe default event loop on Windows may cause issues with asyncio. Use asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) before running.
fix
Add asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) at the start of your script.
affects: all
Upgrade
Version history
2.2.23latest on PyPI · released May 21, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
kurigram — pip install kurigram · libregistry