{"id":13486588,"url":"https://github.com/pyrogram/pyrogram","last_synced_at":"2025-04-08T07:32:50.667Z","repository":{"id":37412658,"uuid":"113971228","full_name":"pyrogram/pyrogram","owner":"pyrogram","description":"Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots","archived":false,"fork":false,"pushed_at":"2024-07-31T06:08:09.000Z","size":7352,"stargazers_count":4398,"open_issues_count":289,"forks_count":1419,"subscribers_count":95,"default_branch":"master","last_synced_at":"2024-10-29T11:13:54.771Z","etag":null,"topics":["async","asynchronous","asyncio","bot-api","client","framework","hacktoberfest","library","mtproto","pyrogram","python","python-library","telegram","telegram-api"],"latest_commit_sha":null,"homepage":"https://pyrogram.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyrogram.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"delivrance","liberapay":"delivrance","open_collective":"pyrogram"}},"created_at":"2017-12-12T09:37:41.000Z","updated_at":"2024-10-28T18:44:58.000Z","dependencies_parsed_at":"2023-10-02T10:40:22.136Z","dependency_job_id":"9f4afdcc-61fb-471c-832a-6f8a5ea2a6fc","html_url":"https://github.com/pyrogram/pyrogram","commit_stats":{"total_commits":3645,"total_committers":133,"mean_commits":"27.406015037593985","dds":0.08724279835390947,"last_synced_commit":"efac17198b5fcaec1c2628c4bba0c288a4d617d4"},"previous_names":[],"tags_count":139,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrogram%2Fpyrogram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrogram%2Fpyrogram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrogram%2Fpyrogram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrogram%2Fpyrogram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyrogram","download_url":"https://codeload.github.com/pyrogram/pyrogram/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339145,"owners_count":20923012,"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":["async","asynchronous","asyncio","bot-api","client","framework","hacktoberfest","library","mtproto","pyrogram","python","python-library","telegram","telegram-api"],"created_at":"2024-07-31T18:00:48.758Z","updated_at":"2025-04-08T07:32:50.647Z","avatar_url":"https://github.com/pyrogram.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/pyrogram/pyrogram\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/pyrogram/artwork/master/artwork/pyrogram-logo.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://pyrogram.org\"\u003e\n        Homepage\n    \u003c/a\u003e\n    •\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 [!NOTE]\n\u003e The project is no longer maintained or supported. Thanks for appreciating it.\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### 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","funding_links":["https://github.com/sponsors/delivrance","https://liberapay.com/delivrance","https://opencollective.com/pyrogram"],"categories":["Python","Bots","Career Path","Telegram Libraries","📚 فهرست"],"sub_categories":["Bot Libs","Python","کتابخانه‌های ساخته شده توسط ایرانی‌ها"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyrogram%2Fpyrogram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyrogram%2Fpyrogram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyrogram%2Fpyrogram/lists"}