<p align="center">
<a href="https://github.com/pyrogram/pyrogram">
<img src="https://docs.pyrogram.org/_static/pyrogram.png" alt="Pyrogram" width="128">
</a>
<br>
<b>Telegram MTProto API Framework for Python</b>
<br>
<a href="https://pyrogram.org">
Homepage
</a>
•
<a href="https://docs.pyrogram.org">
Documentation
</a>
•
<a href="https://docs.pyrogram.org/releases">
Releases
</a>
•
<a href="https://t.me/pyrogram">
News
</a>
</p>
## Pyrogram
> Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
``` python
from pyrogram import Client, filters
app = Client("my_account")
@app.on_message(filters.private)
async def hello(client, message):
await message.reply("Hello from Pyrogram!")
app.run()
```
**Pyrogram** is a modern, elegant and asynchronous [MTProto API](https://docs.pyrogram.org/topics/mtproto-vs-botapi)
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
If you'd like to support Pyrogram, you can consider:
- [Become a GitHub sponsor](https://github.com/sponsors/delivrance).
- [Become a LiberaPay patron](https://liberapay.com/delivrance).
- [Become an OpenCollective backer](https://opencollective.com/pyrogram).
### Key Features
- **Ready**: Install Pyrogram 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](https://github.com/pyrogram/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
``` bash
pip3 install pyrogram
```
### Resources
- Check out the docs at https://docs.pyrogram.org to learn more about Pyrogram, get started right
away and discover more in-depth material for building your client applications.
- Join the official channel at https://t.me/pyrogram and stay tuned for news, updates and announcements.
Raw data
{
"_id": null,
"home_page": "https://github.com/adityadwiprs190/pyrogram",
"name": "Rextgram",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.7",
"maintainer_email": null,
"keywords": "telegram chat messenger mtproto api client library python",
"author": "Dan",
"author_email": "dan@pyrogram.org",
"download_url": "https://files.pythonhosted.org/packages/a0/e7/7bd73a52f955926192c05f32e8705d802e4573df6b1f1c6510057b9b3da6/rextgram-2.0.183.tar.gz",
"platform": null,
"description": "<p align=\"center\">\r\n <a href=\"https://github.com/pyrogram/pyrogram\">\r\n <img src=\"https://docs.pyrogram.org/_static/pyrogram.png\" alt=\"Pyrogram\" width=\"128\">\r\n </a>\r\n <br>\r\n <b>Telegram MTProto API Framework for Python</b>\r\n <br>\r\n <a href=\"https://pyrogram.org\">\r\n Homepage\r\n </a>\r\n \u2022\r\n <a href=\"https://docs.pyrogram.org\">\r\n Documentation\r\n </a>\r\n \u2022\r\n <a href=\"https://docs.pyrogram.org/releases\">\r\n Releases\r\n </a>\r\n \u2022\r\n <a href=\"https://t.me/pyrogram\">\r\n News\r\n </a>\r\n</p>\r\n\r\n## Pyrogram\r\n\r\n> Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots\r\n\r\n``` python\r\nfrom pyrogram import Client, filters\r\n\r\napp = Client(\"my_account\")\r\n\r\n\r\n@app.on_message(filters.private)\r\nasync def hello(client, message):\r\n await message.reply(\"Hello from Pyrogram!\")\r\n\r\n\r\napp.run()\r\n```\r\n\r\n**Pyrogram** is a modern, elegant and asynchronous [MTProto API](https://docs.pyrogram.org/topics/mtproto-vs-botapi)\r\nframework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot\r\nidentity (bot API alternative) using Python.\r\n\r\n### Support\r\n\r\nIf you'd like to support Pyrogram, you can consider:\r\n\r\n- [Become a GitHub sponsor](https://github.com/sponsors/delivrance).\r\n- [Become a LiberaPay patron](https://liberapay.com/delivrance).\r\n- [Become an OpenCollective backer](https://opencollective.com/pyrogram).\r\n\r\n### Key Features\r\n\r\n- **Ready**: Install Pyrogram with pip and start building your applications right away.\r\n- **Easy**: Makes the Telegram API simple and intuitive, while still allowing advanced usages.\r\n- **Elegant**: Low-level details are abstracted and re-presented in a more convenient way.\r\n- **Fast**: Boosted up by [TgCrypto](https://github.com/pyrogram/tgcrypto), a high-performance cryptography library written in C. \r\n- **Type-hinted**: Types and methods are all type-hinted, enabling excellent editor support.\r\n- **Async**: Fully asynchronous (also usable synchronously if wanted, for convenience).\r\n- **Powerful**: Full access to Telegram's API to execute any official client action and more.\r\n\r\n### Installing\r\n\r\n``` bash\r\npip3 install pyrogram\r\n```\r\n\r\n### Resources\r\n\r\n- Check out the docs at https://docs.pyrogram.org to learn more about Pyrogram, get started right\r\naway and discover more in-depth material for building your client applications.\r\n- Join the official channel at https://t.me/pyrogram and stay tuned for news, updates and announcements.\r\n",
"bugtrack_url": null,
"license": "LGPLv3",
"summary": "Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots",
"version": "2.0.183",
"project_urls": {
"Community": "https://t.me/pyrogram",
"Documentation": "https://docs.pyrogram.org",
"Download": "https://github.com/adityadwiprs190/pyrogram/releases/latest",
"Homepage": "https://github.com/adityadwiprs190/pyrogram",
"Source": "https://github.com/pyrogram/pyrogram",
"Tracker": "https://github.com/pyrogram/pyrogram/issues"
},
"split_keywords": [
"telegram",
"chat",
"messenger",
"mtproto",
"api",
"client",
"library",
"python"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "ec2c9bbc5a6bcbf16f0e3220b7a699bbcd17c187df87205ae7f015cbeb2449f1",
"md5": "d909272e346bba9a1d77683f21b43c33",
"sha256": "7099466e10c2b4bcff397620d13911f9c3cd30cfd4f46e93639e8a8ad114e6fd"
},
"downloads": -1,
"filename": "rextgram-2.0.183-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d909272e346bba9a1d77683f21b43c33",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.7",
"size": 4417060,
"upload_time": "2025-10-14T07:24:40",
"upload_time_iso_8601": "2025-10-14T07:24:40.019231Z",
"url": "https://files.pythonhosted.org/packages/ec/2c/9bbc5a6bcbf16f0e3220b7a699bbcd17c187df87205ae7f015cbeb2449f1/rextgram-2.0.183-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "a0e77bd73a52f955926192c05f32e8705d802e4573df6b1f1c6510057b9b3da6",
"md5": "cb2b6ab4699256665b61cab46f9101ad",
"sha256": "4c56218bda271ec06404c6635438ce8e4f0282acc32d9202ad71223b8cb5df12"
},
"downloads": -1,
"filename": "rextgram-2.0.183.tar.gz",
"has_sig": false,
"md5_digest": "cb2b6ab4699256665b61cab46f9101ad",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 936837,
"upload_time": "2025-10-14T07:24:42",
"upload_time_iso_8601": "2025-10-14T07:24:42.548703Z",
"url": "https://files.pythonhosted.org/packages/a0/e7/7bd73a52f955926192c05f32e8705d802e4573df6b1f1c6510057b9b3da6/rextgram-2.0.183.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-14 07:24:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "adityadwiprs190",
"github_project": "pyrogram",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "pyaes",
"specs": [
[
"==",
"1.6.1"
]
]
},
{
"name": "pysocks",
"specs": [
[
"==",
"1.7.1"
]
]
}
],
"tox": true,
"lcname": "rextgram"
}