<p align="center">
<a href="https://github.com/kalanakt/pyrogramx">
<img src="https://docs.pyrogramx.org/_static/pyrogramx.png" alt="Pyrogram" width="128">
</a>
<br>
<b>Telegram MTProto API Framework for Python</b>
<br>
<a href="https://pyrogramx.org">
Homepage
</a>
•
<a href="https://docs.pyrogramx.org">
Documentation
</a>
•
<a href="https://docs.pyrogramx.org/releases">
Releases
</a>
•
<a href="https://t.me/pyrogramx">
News
</a>
</p>
## Pyrogram
> Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
``` python
from pyrogramx 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.pyrogramx.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/pyrogramx).
### 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/kalanakt/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 pyrogramx
```
### Resources
- Check out the docs at https://docs.pyrogramx.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/pyrogramx and stay tuned for news, updates and announcements.
Raw data
{
"_id": null,
"home_page": "https://github.com/kalanakt",
"name": "pyrogramx",
"maintainer": "",
"docs_url": null,
"requires_python": "~=3.7",
"maintainer_email": "",
"keywords": "telegram chat messenger mtproto api client library python",
"author": "Kalana Kt",
"author_email": "kt@netronk.com",
"download_url": "https://files.pythonhosted.org/packages/25/f0/964bb3ae4e78f402b76f37f124dd935772d375cc9409c262c15f6416cc72/pyrogramx-0.0.1.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <a href=\"https://github.com/kalanakt/pyrogramx\">\n <img src=\"https://docs.pyrogramx.org/_static/pyrogramx.png\" alt=\"Pyrogram\" width=\"128\">\n </a>\n <br>\n <b>Telegram MTProto API Framework for Python</b>\n <br>\n <a href=\"https://pyrogramx.org\">\n Homepage\n </a>\n \u2022\n <a href=\"https://docs.pyrogramx.org\">\n Documentation\n </a>\n \u2022\n <a href=\"https://docs.pyrogramx.org/releases\">\n Releases\n </a>\n \u2022\n <a href=\"https://t.me/pyrogramx\">\n News\n </a>\n</p>\n\n## Pyrogram\n\n> Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots\n\n``` python\nfrom pyrogramx import Client, filters\n\napp = Client(\"my_account\")\n\n\n@app.on_message(filters.private)\nasync def hello(client, message):\n await message.reply(\"Hello from Pyrogram!\")\n\n\napp.run()\n```\n\n**Pyrogram** is a modern, elegant and asynchronous [MTProto API](https://docs.pyrogramx.org/topics/mtproto-vs-botapi)\nframework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot\nidentity (bot API alternative) using Python.\n\n### Support\n\nIf you'd like to support Pyrogram, you can consider:\n\n- [Become a GitHub sponsor](https://github.com/sponsors/delivrance).\n- [Become a LiberaPay patron](https://liberapay.com/delivrance).\n- [Become an OpenCollective backer](https://opencollective.com/pyrogramx).\n\n### Key Features\n\n- **Ready**: Install Pyrogram with pip and start building your applications right away.\n- **Easy**: Makes the Telegram API simple and intuitive, while still allowing advanced usages.\n- **Elegant**: Low-level details are abstracted and re-presented in a more convenient way.\n- **Fast**: Boosted up by [TgCrypto](https://github.com/kalanakt/tgcrypto), a high-performance cryptography library written in C. \n- **Type-hinted**: Types and methods are all type-hinted, enabling excellent editor support.\n- **Async**: Fully asynchronous (also usable synchronously if wanted, for convenience).\n- **Powerful**: Full access to Telegram's API to execute any official client action and more.\n\n### Installing\n\n``` bash\npip3 install pyrogramx\n```\n\n### Resources\n\n- Check out the docs at https://docs.pyrogramx.org to learn more about Pyrogram, get started right\naway and discover more in-depth material for building your client applications.\n- Join the official channel at https://t.me/pyrogramx and stay tuned for news, updates and announcements.\n",
"bugtrack_url": null,
"license": "LGPLv3",
"summary": "Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots Forked From pyrogramx.org",
"version": "0.0.1",
"project_urls": {
"Community": "https://t.me/pyrogramx",
"Documentation": "https://docs.pyrogramx.org",
"Download": "https://github.com/kalanakt/pyrogramx/releases/latest",
"Homepage": "https://github.com/kalanakt",
"Source": "https://github.com/kalanakt/pyrogramx",
"Tracker": "https://github.com/kalanakt/pyrogramx/issues"
},
"split_keywords": [
"telegram",
"chat",
"messenger",
"mtproto",
"api",
"client",
"library",
"python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b9d98a5fa60f7e5cdd408846005b1d5ea135e15730f499f83855e36d0c8d6d3f",
"md5": "8be9435e63cd8a17080bac55f6c31a77",
"sha256": "d9299db5d917131c3cb2099d84d9d1db0d356bdceb902bc2d34aff5c25469fc4"
},
"downloads": -1,
"filename": "pyrogramx-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8be9435e63cd8a17080bac55f6c31a77",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.7",
"size": 3393784,
"upload_time": "2024-02-27T15:22:51",
"upload_time_iso_8601": "2024-02-27T15:22:51.564533Z",
"url": "https://files.pythonhosted.org/packages/b9/d9/8a5fa60f7e5cdd408846005b1d5ea135e15730f499f83855e36d0c8d6d3f/pyrogramx-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "25f0964bb3ae4e78f402b76f37f124dd935772d375cc9409c262c15f6416cc72",
"md5": "3ebee6d94e677ae360eaff6e3e5a70c5",
"sha256": "d94bc4c8bcfc70888b0f0f42391e5f4d29c32f279b2cb3b56665c2b42e305486"
},
"downloads": -1,
"filename": "pyrogramx-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "3ebee6d94e677ae360eaff6e3e5a70c5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 328009,
"upload_time": "2024-02-27T15:22:57",
"upload_time_iso_8601": "2024-02-27T15:22:57.971028Z",
"url": "https://files.pythonhosted.org/packages/25/f0/964bb3ae4e78f402b76f37f124dd935772d375cc9409c262c15f6416cc72/pyrogramx-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-27 15:22:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kalanakt",
"github_project": "pyrogramx",
"github_not_found": true,
"lcname": "pyrogramx"
}