{"id":13827743,"url":"https://github.com/subinps/pyrogram","last_synced_at":"2025-07-09T05:30:29.290Z","repository":{"id":42692845,"uuid":"367261253","full_name":"subinps/pyrogram","owner":"subinps","description":"Telegram MTProto API Client Library and Framework in Pure Python for Users and Bots","archived":false,"fork":true,"pushed_at":"2022-04-19T19:43:51.000Z","size":6425,"stargazers_count":7,"open_issues_count":0,"forks_count":19,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-08-05T09:16:42.746Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.pyrogram.org","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"pyrogram/pyrogram","license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/subinps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"delivrance","liberapay":"delivrance","open_collective":"pyrogram"}},"created_at":"2021-05-14T05:44:45.000Z","updated_at":"2023-02-28T03:53:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/subinps/pyrogram","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subinps%2Fpyrogram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subinps%2Fpyrogram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subinps%2Fpyrogram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subinps%2Fpyrogram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subinps","download_url":"https://codeload.github.com/subinps/pyrogram/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225486431,"owners_count":17481900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T09:02:06.742Z","updated_at":"2024-11-20T07:31:06.006Z","avatar_url":"https://github.com/subinps.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/pyrogram/pyrogram\"\u003e\n        \u003cimg src=\"https://docs.pyrogram.org/_static/pyrogram.png\" alt=\"Pyrogram\" width=\"128\"\u003e\n    \u003c/a\u003e\n    \u003cbr\u003e\n    \u003cb\u003eTelegram MTProto API Framework for Python\u003c/b\u003e\n    \u003cbr\u003e\n    \u003ca href=\"https://docs.pyrogram.org\"\u003e\n        Documentation\n    \u003c/a\u003e\n    •\n    \u003ca href=\"https://docs.pyrogram.org/releases\"\u003e\n        Releases\n    \u003c/a\u003e\n    •\n    \u003ca href=\"https://t.me/pyrogram\"\u003e\n        News\n    \u003c/a\u003e\n\u003c/p\u003e\n\n## Pyrogram\n\n\u003e 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 crypto library written in pure 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","funding_links":["https://github.com/sponsors/delivrance","https://liberapay.com/delivrance","https://opencollective.com/pyrogram"],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubinps%2Fpyrogram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubinps%2Fpyrogram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubinps%2Fpyrogram/lists"}