{"id":34066720,"url":"https://github.com/pyrobale/pyrobale","last_synced_at":"2026-04-10T10:02:54.543Z","repository":{"id":277129980,"uuid":"931425594","full_name":"pyrobale/pyrobale","owner":"pyrobale","description":"A Python wrapper for the Bale Bot API that makes it easy to build Bale bots.","archived":false,"fork":false,"pushed_at":"2025-12-26T14:05:09.000Z","size":16874,"stargazers_count":7,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-09T05:25:39.332Z","etag":null,"topics":["api","bale","bot","messaging","python","unofficial","wrapper"],"latest_commit_sha":null,"homepage":"https://pyrobale.ir","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyrobale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-12T08:59:53.000Z","updated_at":"2025-12-28T13:51:54.000Z","dependencies_parsed_at":"2025-05-28T13:18:17.381Z","dependency_job_id":"431d4195-f545-4f85-9d99-35a331abf96c","html_url":"https://github.com/pyrobale/pyrobale","commit_stats":null,"previous_names":["pyrobale/pyrobale"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pyrobale/pyrobale","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrobale%2Fpyrobale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrobale%2Fpyrobale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrobale%2Fpyrobale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrobale%2Fpyrobale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyrobale","download_url":"https://codeload.github.com/pyrobale/pyrobale/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrobale%2Fpyrobale/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31637748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api","bale","bot","messaging","python","unofficial","wrapper"],"created_at":"2025-12-14T06:46:36.284Z","updated_at":"2026-04-10T10:02:54.536Z","avatar_url":"https://github.com/pyrobale.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![pyrobaletext](https://raw.githubusercontent.com/pyrobale/pyrobale/refs/heads/main/pyrobaletext.png)\n\n# Bale Bot API Python Library\n\nA modern, easy-to-use Python wrapper for the Bale Bot API that makes building Bale bots simple and intuitive.\n\n## Features\n\n- 🚀 **Simple \u0026 Intuitive** - Clean, Pythonic API design\n- 📨 **Full Message Support** - Text, photos, videos, documents, and more\n- ⌨️ **Interactive Elements** - Inline keyboards, reply keyboards, and buttons\n- 🔄 **Real-time Updates** - Webhook and polling support\n- 📁 **File Handling** - Easy upload and download of media files\n- 🛡️ **Error Handling** - Comprehensive exception handling\n- 📖 **Type Hints** - Full typing support for better development experience\nnc Support** - synchro\n\n## Installation\n\n```bash\npip install pyrobale\n```\n\n## Quick Start\n\n```python\nfrom pyrobale.client import Client\nfrom pyrobale.objects import Message, UpdatesTypes\n\nbot = Client(\"YOUR_BOT_TOKEN\")\n\n@bot.on_message()\nasync def message_handler(message: Message):\n    await message.reply(\"Hello, world!\")\n\nbot.run()\n```\n\n## Examples\n\n### Conversation Bot\n```python\nfrom pyrobale.objects import *\nfrom pyrobale.client import Client, Message, UpdatesTypes\n\nclient = Client(\"YOUR_BOT_TOKEN\")\n\nasync def handle_message(message: Message):\n    if message.text == \"/start\":\n        await message.reply(\"Hi! Im a pyrobale RoBot!\")\n        await client.wait_for(UpdatesTypes.MESSAGE)\n        await message.reply(\"Okay! wait_for Test Compeleted\")\n\nclient.add_handler(UpdatesTypes.MESSAGE, handle_message)\n\nclient.run()\n```\n\n### Echo Bot\n```python\nfrom pyrobale.client import Client\nfrom pyrobale.objects import Message, UpdatesTypes\n\nbot = Client(\"YOUR_BOT_TOKEN\")\n\n@bot.on_message()\nasync def message_handler(message: Message):\n    await message.reply(message.text)\n\nbot.run()\n```\n\n### Inline Keyboard\n```python\nfrom pyrobale.client import Client\nfrom pyrobale.objects import Message, UpdatesTypes, InlineKeyboardButton, InlineKeyboardMarkup, CopyTextButton\n\nbot = Client(\"YOUR_BOT_TOKEN\")\nasync def message_handler(message: Message):\n    buttons = InlineKeyboardMarkup()\n    buttons.add_button(\"URL\", url=\"https://google.com\")\n    buttons.add_button(\"Callback\", callback_data=\"callback\")\n    buttons.add_row()\n    buttons.add_button(\"WebApp\", web_app=\"https://daradege.ir\")\n    buttons.add_button(\"Copy\", copy_text_button=CopyTextButton(\"TEXT\"))\n    await message.reply(\"Hello, world!\", reply_markup=buttons)\n```\n\n\n## Core Abilities\n\n- **Message Handling** - Process text, commands, and media messages\n- **Callback Queries** - Handle inline keyboard interactions\n- **File Operations** - Send and receive photos, videos, documents\n- **Chat Management** - Get chat info, member management\n- **Custom Keyboards** - Create interactive user interfaces\n- **Webhook Support** - Production-ready webhook handling\n- **Middleware Support** - Add custom processing layers\n\n## Documentation\n\nFor detailed documentation and advanced usage, visit our [documentation site](https://pyrobale.readthedocs.io).\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Support\n\n- 📖 [Documentation](https://pyrobale.readthedocs.io)\n- 🐛 [Issue Tracker](https://github.com/pyrobale/pyrobale/issues)\n- 💬 [Discussions](https://github.com/pyrobale/pyrobale/discussions)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyrobale%2Fpyrobale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyrobale%2Fpyrobale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyrobale%2Fpyrobale/lists"}