Kurigram
Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
Decision gist · record as of 2026-08-14
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
Alternatives
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.
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.
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
| License | LGPL-3.0-or-later copyleft |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespyaespython-socks |
| Maintenance | Actively maintained 34 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 86,812 / month, #13,835 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None 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
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 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.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
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.
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.
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.
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.
See also Pyrogram · pyrofork · aiogram · Telethon · python-telegram-bot · pyTelegramBotAPI · KangelPluginsManager · pytgcalls · instagrapi · exteragram-alib