<p align="center">
<a href="github.address">
<img src="https://dev.bale.ai/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Farea7.e362c612.png&w=1080&q=75" alt="pybalebot" width="128">
</a>
<br>
<b>Bale API Framework for Python</b>
<br>
<a href="https://github.com/shayanheidari01/pybalebot">
Homepage
</a>
•
<a href="https://docs.pybalebot.site/">
Documentation
</a>
•
<a href="https://pypi.org/project/pybalebot/#history">
Releases
</a>
•
<a href="https://t.me/rubika_library">
News
</a>
</p>
## PyBaleBot
> Modern and fully asynchronous framework for Bale Bot API
### Using Async
```python
from pybalebot import Client, filters
from pybalebot.types import Message
bot_token = "123456789:**********************"
app = Client("my_bot", bot_token=bot_token)
@app.on_message(filters.text)
async def hello(client, message: Message):
await message.reply("Hello from PyBaleBot!")
app.run()
```
**PyBaleBot** is a modern, elegant and asynchronous framework. It enables you to easily interact with the main Bale API through a user account (custom client) or a bot
identity (bot API alternative) using Python.
### Key Features
- **Ready**: Install PyBaleBot with pip and start building your applications right away.
- **Easy**: Makes the Bale 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 aiohttp, a high-performance http library written in C.
- **Async**: Fully asynchronous (also usable synchronously if wanted, for convenience).
- **Powerful**: Full access to Bale's API to execute any official client action and more.
### Installing
``` bash
pip3 install -U pybalebot
```
Raw data
{
"_id": null,
"home_page": "https://github.com/shayanheidari01/pybalebot",
"name": "pybalebot",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.7",
"maintainer_email": null,
"keywords": "pybalebot, bale, chat, bot, robot, asyncio",
"author": "Shayan Heidari",
"author_email": "contact@shayanheidari.info",
"download_url": "https://files.pythonhosted.org/packages/e2/ce/56b1ffae1fa10c33036bada5b0944c6d74308429386e76316e6568cc5238/pybalebot-0.0.3.tar.gz",
"platform": null,
"description": "<p align=\"center\">\r\n <a href=\"github.address\">\r\n <img src=\"https://dev.bale.ai/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Farea7.e362c612.png&w=1080&q=75\" alt=\"pybalebot\" width=\"128\">\r\n </a>\r\n <br>\r\n <b>Bale API Framework for Python</b>\r\n <br>\r\n <a href=\"https://github.com/shayanheidari01/pybalebot\">\r\n Homepage\r\n </a>\r\n \u2022\r\n <a href=\"https://docs.pybalebot.site/\">\r\n Documentation\r\n </a>\r\n \u2022\r\n <a href=\"https://pypi.org/project/pybalebot/#history\">\r\n Releases\r\n </a>\r\n \u2022\r\n <a href=\"https://t.me/rubika_library\">\r\n News\r\n </a>\r\n</p>\r\n\r\n## PyBaleBot\r\n\r\n> Modern and fully asynchronous framework for Bale Bot API\r\n\r\n### Using Async\r\n```python\r\nfrom pybalebot import Client, filters\r\nfrom pybalebot.types import Message\r\n\r\nbot_token = \"123456789:**********************\"\r\n\r\napp = Client(\"my_bot\", bot_token=bot_token)\r\n\r\n@app.on_message(filters.text)\r\nasync def hello(client, message: Message):\r\n await message.reply(\"Hello from PyBaleBot!\")\r\n\r\napp.run()\r\n```\r\n\r\n\r\n**PyBaleBot** is a modern, elegant and asynchronous framework. It enables you to easily interact with the main Bale API through a user account (custom client) or a bot\r\nidentity (bot API alternative) using Python.\r\n\r\n\r\n### Key Features\r\n\r\n- **Ready**: Install PyBaleBot with pip and start building your applications right away.\r\n- **Easy**: Makes the Bale 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 aiohttp, a high-performance http library written in C.\r\n- **Async**: Fully asynchronous (also usable synchronously if wanted, for convenience).\r\n- **Powerful**: Full access to Bale's API to execute any official client action and more.\r\n\r\n### Installing\r\n\r\n``` bash\r\npip3 install -U pybalebot\r\n```\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Modern and fully asynchronous framework for Bale Bot API",
"version": "0.0.3",
"project_urls": {
"Homepage": "https://github.com/shayanheidari01/pybalebot"
},
"split_keywords": [
"pybalebot",
" bale",
" chat",
" bot",
" robot",
" asyncio"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e2ce56b1ffae1fa10c33036bada5b0944c6d74308429386e76316e6568cc5238",
"md5": "d3a13a769c8ddb9df53ac53d6f998a7d",
"sha256": "e5230eb88dee5e2a43354204ad4993e0fd95f0b60d508964cf70ae42d3e96b7e"
},
"downloads": -1,
"filename": "pybalebot-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "d3a13a769c8ddb9df53ac53d6f998a7d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 23543,
"upload_time": "2024-06-02T14:05:34",
"upload_time_iso_8601": "2024-06-02T14:05:34.243818Z",
"url": "https://files.pythonhosted.org/packages/e2/ce/56b1ffae1fa10c33036bada5b0944c6d74308429386e76316e6568cc5238/pybalebot-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-02 14:05:34",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "shayanheidari01",
"github_project": "pybalebot",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pybalebot"
}