Telegram MTProto API Framework for Python
Homepage
•
Documentation
•
Issues
•
Support Chat
Irenogram
Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
from pyrogram import Client, filters
app = Client("my_account")
@app.on_message(filters.private)
async def hello(client, message):
await message.reply("Hello from Irenogram!")
app.run()
Irenogram 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.
Key Features
- Ready: Install Irenogram with pip and start building right away. Drop-in replacement for Pyrogram.
- Easy: Makes the Telegram API simple and intuitive, with full type hints for IDE support.
- Elegant: Low-level details abstracted, presented in convenient, Pythonic ways.
- Fast: Optimized MTProto implementation with C-accelerated cryptography via TgCrypto.
- Type-hinted: Complete type annotations across all 2,200+ Telegram types for excellent IDE support.
- Async: Fully asynchronous (also synchronous if needed, for convenience).
- Powerful: Full Telegram API access including Managed Bots, Business Accounts, Advanced Polls.
Rare & Exceptional Features
- Layer 224 Complete — All 2,200+ MTProto types with full type coverage
- Managed Bots — Create and control multiple bots via single account API
- Business Accounts — Full support for Telegram Business API across all methods
- Advanced Polls — Quiz mode with multiple correct answers, revoting, hidden results, dynamic options
- In-Memory Sessions — Zero-disk temporary sessions for stateless deployments
- Session Strings — Export/import sessions without file I/O
- Zero Migration — 100% backward compatible with existing Pyrogram code
- Multiple Storage — SQLite, Memory, File, MongoDB storage backends
Installing
pip install irenogram
Resources
- Check out the docs at https://abirxdhack.github.io/irenogram to learn more, get started and discover advanced features.
- Join the community at https://t.me/Irenogram for support, updates and announcements.
License
Irenogram is distributed under the terms of the GNU Lesser General Public License v3.0.
Metadata
Release files for irenogram 2.3.90
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| irenogram-2.3.90.tar.gz | 1.3 MB | Without provenance | Details for irenogram-2.3.90.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| irenogram-2.3.90-py3-none-any.whl | Python 3 | none | any | Details for irenogram-2.3.90-py3-none-any.whl |
Total release size: 6.7 MB
Release files / irenogram-2.3.90.tar.gz
| Download URL | irenogram-2.3.90.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d422453492a00a1e74f1606d5fe72a829f7eba5c8c8c118836c745c8158fdb34
|
|
BLAKE2b-256 checksum How to use checksums |
1733ccf973d160777bf43a331d626ea443bff87b77bf09bde03ec03eba8fe615
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / irenogram-2.3.90-py3-none-any.whl
| Download URL | irenogram-2.3.90-py3-none-any.whl |
|---|---|
| Size | 5.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
528e12aaf6b0c6d28f1365595af27888d2d50451a4021f79567c3775d4d7f2e0
|
|
BLAKE2b-256 checksum How to use checksums |
42468f04a3b3d10ff8766be885c0a90bc81913dd12eab3f6a436bc3aeecb3c5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for irenogram 2.3.90
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.