<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/pyrogram",
"name": "techgram",
"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://github.com/pyrogram/pyrogram/releases/latest",
"platform": null,
"description": "<p align=\"center\">\n <a href=\"https://github.com/pyrogram/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",
"bugtrack_url": null,
"license": "LGPLv3",
"summary": "Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots",
"version": "1.0.7",
"project_urls": {
"Community": "https://t.me/pyrogram",
"Documentation": "https://docs.pyrogram.org",
"Download": "https://github.com/pyrogram/pyrogram/releases/latest",
"Homepage": "https://github.com/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": "",
"digests": {
"blake2b_256": "671d2017b36d59f8032efb51083f1b330d9a580c00ca2e02ed7159cb8376efde",
"md5": "cd31c5d1d0c45feb7cf796a32c0606b6",
"sha256": "ea5faa41d1ab7199e925c8a71c96b27e3eb5e0bfbf9efa9be1de15c54332320e"
},
"downloads": -1,
"filename": "techgram-1.0.7-cp310-cp310-manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "cd31c5d1d0c45feb7cf796a32c0606b6",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": "~=3.7",
"size": 11235589,
"upload_time": "2024-05-04T18:33:04",
"upload_time_iso_8601": "2024-05-04T18:33:04.688959Z",
"url": "https://files.pythonhosted.org/packages/67/1d/2017b36d59f8032efb51083f1b330d9a580c00ca2e02ed7159cb8376efde/techgram-1.0.7-cp310-cp310-manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e34533011ca2d1746e892fcd504892c6a58b04bc4b1bea4642415d3800f3807b",
"md5": "150a048e85f0220a3219177ce5d8a38e",
"sha256": "ca50f3f6110417bb5667914c566d744584e653a281c9d607cc8668d897074af2"
},
"downloads": -1,
"filename": "techgram-1.0.7-cp311-cp311-manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "150a048e85f0220a3219177ce5d8a38e",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": "~=3.7",
"size": 11235588,
"upload_time": "2024-05-04T18:33:07",
"upload_time_iso_8601": "2024-05-04T18:33:07.564085Z",
"url": "https://files.pythonhosted.org/packages/e3/45/33011ca2d1746e892fcd504892c6a58b04bc4b1bea4642415d3800f3807b/techgram-1.0.7-cp311-cp311-manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1092c88b6f81dd03c277227394703ba5bb551a603c8634a78f88632088ea3e2a",
"md5": "bbf4ba55a074c507cec516a2615fcbd1",
"sha256": "2ce8f9dc8de9faed21be787adb7aa966a7a25398783c59135335d62199bcbaec"
},
"downloads": -1,
"filename": "techgram-1.0.7-cp312-cp312-manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "bbf4ba55a074c507cec516a2615fcbd1",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": "~=3.7",
"size": 11235588,
"upload_time": "2024-05-04T18:33:10",
"upload_time_iso_8601": "2024-05-04T18:33:10.042876Z",
"url": "https://files.pythonhosted.org/packages/10/92/c88b6f81dd03c277227394703ba5bb551a603c8634a78f88632088ea3e2a/techgram-1.0.7-cp312-cp312-manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ab41436cb2842c2ebee54e94ae749f31f584d93e785c2265eba1521cefee8c6c",
"md5": "b8d7ee56a863e0649e21dd6f5b6eaff0",
"sha256": "8c48ca118615118d7b49e572e889531cb9e4dce54a40356409ecf01e219726e5"
},
"downloads": -1,
"filename": "techgram-1.0.7-cp37-cp37m-manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "b8d7ee56a863e0649e21dd6f5b6eaff0",
"packagetype": "bdist_wheel",
"python_version": "cp37",
"requires_python": "~=3.7",
"size": 11235571,
"upload_time": "2024-05-04T18:33:12",
"upload_time_iso_8601": "2024-05-04T18:33:12.130237Z",
"url": "https://files.pythonhosted.org/packages/ab/41/436cb2842c2ebee54e94ae749f31f584d93e785c2265eba1521cefee8c6c/techgram-1.0.7-cp37-cp37m-manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c6f6a8e0856e43520dcad3935c421c912f071fc3a95e31a0e926d1cb73cfee66",
"md5": "c26d280707bb992c73844b33772f420c",
"sha256": "9d031a7b6a7c378707fec871c078392eacf96ea5df3d7a6cc97e9b77e52fcd8c"
},
"downloads": -1,
"filename": "techgram-1.0.7-cp38-cp38-manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "c26d280707bb992c73844b33772f420c",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": "~=3.7",
"size": 11235571,
"upload_time": "2024-05-04T18:33:14",
"upload_time_iso_8601": "2024-05-04T18:33:14.738895Z",
"url": "https://files.pythonhosted.org/packages/c6/f6/a8e0856e43520dcad3935c421c912f071fc3a95e31a0e926d1cb73cfee66/techgram-1.0.7-cp38-cp38-manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d1a24239db9ad7281a1c41b683fb1edee3d4c5dbcb673ab347b0de7761dec15f",
"md5": "8897e7721a5f243f286e3e77306cbdc0",
"sha256": "ad6ef5b56489711df73fc5a723a0345e3ebe92f105264b401c0751c20cc5fde8"
},
"downloads": -1,
"filename": "techgram-1.0.7-cp39-cp39-manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "8897e7721a5f243f286e3e77306cbdc0",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": "~=3.7",
"size": 11235602,
"upload_time": "2024-05-04T18:33:17",
"upload_time_iso_8601": "2024-05-04T18:33:17.201002Z",
"url": "https://files.pythonhosted.org/packages/d1/a2/4239db9ad7281a1c41b683fb1edee3d4c5dbcb673ab347b0de7761dec15f/techgram-1.0.7-cp39-cp39-manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-04 18:33:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pyrogram",
"github_project": "pyrogram",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"tox": true,
"lcname": "techgram"
}