$npx skillfedfor your agent

Kurigram

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

With conditionsPyPI LibrariesReleased Jul 202686.8K downloads / moLGPL-3.0-or-laterPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — kurigram-2.2.24-py3-none-any.whl
v2.2.24 · released 2026-07-11 · Python >=3.8 · 2 runtime deps: pyaes, python-socks

Yes, if you need direct MTProto access to Telegram or want a Pyrogram replacement. Kurigram has low install friction, active maintenance, no known vulnerabilities, and broad Python version support. The copyleft license (LGPL-3.0) is permissive for most use cases but requires derivative works to remain open-source. Install it if you're building Telegram bots or clients; skip it if you only need the official Bot API or prefer a simpler HTTP-based wrapper.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later; asynchronous runtime (asyncio) needed for full functionality, though synchronous usage is available for convenience.
  • Low install friction with only two runtime dependencies (pyaes, python-socks).
  • Actively maintained with recent commits and a stable production release status; last release 34 days old.

License · maintenance · safety

LGPL-3.0-or-later (copyleft) — Licensed under LGPL-3.0-or-later (copyleft). You may use and modify the package freely, but any derivative work must also be released under a compatible copyleft license.

last release 2026-07-11 (34 days) · last repo commit 2026-08-14 · 796 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 86,812 downloads/mo, #13,835 on PyPI

Verify before relying

pip install kurigram

from kurigram 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()
  • Whether TgCrypto (the C-based cryptography dependency mentioned in the description) is automatically installed or requires separate setup.
  • Compatibility guarantees with official Telegram API changes and how quickly Kurigram tracks new Telegram features.
  • Performance characteristics and rate-limiting behavior compared to the original Pyrogram.
Same gist for agents: .md · .json

What it is and what it does

Kurigram is a maintained fork of Pyrogram that provides an asynchronous Python interface to Telegram's MTProto API. It abstracts low-level protocol details while giving you full access to Telegram's official client actions, supporting both user accounts and bot identities. The framework is type-hinted, async-first (with optional synchronous convenience wrappers), and designed to be a drop-in replacement for Pyrogram.

You use it to build Telegram clients and bots in Python by defining message handlers, managing conversations, and calling Telegram API methods through a clean, Pythonic interface. It depends on pyaes for encryption and python-socks for proxy support, and is built on top of high-performance C-based cryptography (TgCrypto) for speed. The package supports modern Python versions (3.8 through 3.14) and is actively maintained with recent feature additions.

Use it for

  • Build a Telegram bot that responds to messages, handles commands, and manages conversations without running a separate bot API server.
  • Create a user client that automates Telegram account actions like sending messages, managing groups, or monitoring channels.
  • Develop applications that need access to Telegram features like Stories, Topics, or Business Accounts that may not be available through the official Bot API.
  • Implement a Telegram client with custom business logic, such as message filtering, forwarding, or analytics.
  • Build multi-account Telegram automation tools that interact with the protocol directly rather than through HTTP endpoints.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need direct MTProto access to Telegram or want a Pyrogram replacement.

Kurigram has low install friction, active maintenance, no known vulnerabilities, and broad Python version support. The copyleft license (LGPL-3.0) is permissive for most use cases but requires derivative works to remain open-source. Install it if you're building Telegram bots or clients; skip it if you only need the official Bot API or prefer a simpler HTTP-based wrapper.

Install

kurigram on PyPI

Before you install

Low install friction with only two runtime dependencies (pyaes, python-socks). Actively maintained with recent commits and a stable production release status; last release 34 days old.

Requires Python 3.8 or later; asynchronous runtime (asyncio) needed for full functionality, though synchronous usage is available for convenience.

License in practice

Licensed under LGPL-3.0-or-later (copyleft). You may use and modify the package freely, but any derivative work must also be released under a compatible copyleft license.

Quickstart

pip install kurigram

from kurigram 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()

Verify before relying

  • Whether TgCrypto (the C-based cryptography dependency mentioned in the description) is automatically installed or requires separate setup.
  • Compatibility guarantees with official Telegram API changes and how quickly Kurigram tracks new Telegram features.
  • Performance characteristics and rate-limiting behavior compared to the original Pyrogram.

Package facts

LicenseLGPL-3.0-or-later copyleft
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pyaespython-socks
MaintenanceActively maintained 34 days since the last release
Last repo commit
First released
Downloads86,812 / month, #13,835 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)Natural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: ImplementationProgramming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: CommunicationsTopic :: Communications :: ChatTopic :: InternetTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Libraries :: Python Modules

Evidence: kurigram-2.2.24-py3-none-any.whl

Tags

Capabilities
telegram mtproto api pythontelegram bot framework asynctelegram client librarypyrogram fork telegramtelegram api wrapper pythontelegram bot developmenttelegram user client
Topics
telegram-apiasync-frameworkmtproto
PyPI keywords
apichatclientlibrarymessengermtprotopythontelegram

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “telegram client library”

  • KurigramKurigram is an asynchronous Python framework for interacting with…
  • PyrogramPyrogram is an asynchronous Python framework for interacting with…
  • pyroforkPyrofork is an asynchronous Python framework for interacting with…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also Pyrogram · pyrofork · aiogram · Telethon · python-telegram-bot · pyTelegramBotAPI · KangelPluginsManager · pytgcalls · instagrapi · exteragram-alib