<p align="center">
<a href="https://github.com/NisaulAdhibah/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/NisaulAdhibah",
"name": "Pyrozal",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.7",
"maintainer_email": null,
"keywords": "telegram chat messenger mtproto api client library python",
"author": "Nisa",
"author_email": "NisaulAdhibah@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/aa/26/65dd80b18f2d786fcf295e6757144c69336753ccc79b12254db5828a5d66/Pyrozal-2.0.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <a href=\"https://github.com/NisaulAdhibah/pyrogram\">\n <img src=\"https://docs.pyrogram.org/_static/pyrogram.png\" alt=\"Pyrogram\" width=\"128\">\n </a>\n <br>\n <b>Telegram MTProto API Framework for Python</b>\n <br>\n <a href=\"https://pyrogram.org\">\n Homepage\n </a>\n \u2022\n <a href=\"https://docs.pyrogram.org\">\n Documentation\n </a>\n \u2022\n <a href=\"https://docs.pyrogram.org/releases\">\n Releases\n </a>\n \u2022\n <a href=\"https://t.me/pyrogram\">\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 pyrogram 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.pyrogram.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/pyrogram).\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/pyrogram/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 pyrogram\n```\n\n### Resources\n\n- Check out the docs at https://docs.pyrogram.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/pyrogram and stay tuned for news, updates and announcements.\n\n\n",
"bugtrack_url": null,
"license": "LGPLv3",
"summary": "Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots",
"version": "2.0",
"project_urls": {
"Community": "https://t.me/pyrogram",
"Documentation": "https://docs.pyrogram.org",
"Download": "https://github.com/NisaulAdhibah/pyrogram/releases/latest",
"Homepage": "https://github.com/NisaulAdhibah",
"Source": "https://github.com/NisaulAdhibah/pyrogram",
"Tracker": "https://github.com/NisaulAdhibah/pyrogram/issues"
},
"split_keywords": [
"telegram",
"chat",
"messenger",
"mtproto",
"api",
"client",
"library",
"python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6aed4d004c8ebe802a7c4947e32d504c80466322117fcf023ceddbadfbf78858",
"md5": "ea0b234a9a5289d41448712b1613282e",
"sha256": "722826198c9629bcf7bcbbb5d14f32d89e220dd498306f3ff0a1d8f720c08949"
},
"downloads": -1,
"filename": "Pyrozal-2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ea0b234a9a5289d41448712b1613282e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.7",
"size": 4362799,
"upload_time": "2024-05-06T07:15:02",
"upload_time_iso_8601": "2024-05-06T07:15:02.442590Z",
"url": "https://files.pythonhosted.org/packages/6a/ed/4d004c8ebe802a7c4947e32d504c80466322117fcf023ceddbadfbf78858/Pyrozal-2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "aa2665dd80b18f2d786fcf295e6757144c69336753ccc79b12254db5828a5d66",
"md5": "7e3de0d341736c11c27f7c3a66134272",
"sha256": "7cd09f667f01b27b8320a1efe428f4a2e82fc9f0ed70831b0aa45b0f0b9bfbb0"
},
"downloads": -1,
"filename": "Pyrozal-2.0.tar.gz",
"has_sig": false,
"md5_digest": "7e3de0d341736c11c27f7c3a66134272",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 422600,
"upload_time": "2024-05-06T07:15:05",
"upload_time_iso_8601": "2024-05-06T07:15:05.516461Z",
"url": "https://files.pythonhosted.org/packages/aa/26/65dd80b18f2d786fcf295e6757144c69336753ccc79b12254db5828a5d66/Pyrozal-2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-06 07:15:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "NisaulAdhibah",
"github_project": "pyrogram",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "pyaes",
"specs": [
[
"==",
"1.6.1"
]
]
},
{
"name": "pysocks",
"specs": [
[
"==",
"1.7.1"
]
]
},
{
"name": "pymediainfo-pyrofork",
"specs": [
[
">=",
"6.0.1"
],
[
"<",
"7.0.0"
]
]
}
],
"tox": true,
"lcname": "pyrozal"
}