<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://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/\u0624",
"name": "zerogram",
"maintainer": "",
"docs_url": null,
"requires_python": "~=3.7",
"maintainer_email": "",
"keywords": "telegram chat messenger mtproto api client library python",
"author": "Abdo Asil",
"author_email": "degram27@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/97/9b/826c276b1721c4ad93015f0c1499c050e28f491069abef97c62791132daa/zerogram-1.0.0.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://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\r\n\r\n",
"bugtrack_url": null,
"license": "LGPLv3",
"summary": "Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots",
"version": "1.0.0",
"split_keywords": [
"telegram",
"chat",
"messenger",
"mtproto",
"api",
"client",
"library",
"python"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "84b91a12c14fd7f301962599193b66f6",
"sha256": "5bb4a2d1579cf7c50f09340996fea26c89f814c8ec1d825312daf4452db3fbe6"
},
"downloads": -1,
"filename": "zerogram-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "84b91a12c14fd7f301962599193b66f6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 336345,
"upload_time": "2022-12-22T23:31:38",
"upload_time_iso_8601": "2022-12-22T23:31:38.810534Z",
"url": "https://files.pythonhosted.org/packages/97/9b/826c276b1721c4ad93015f0c1499c050e28f491069abef97c62791132daa/zerogram-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-22 23:31:38",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "zerogram"
}