Balethon


NameBalethon JSON
Version 0.6.6 PyPI version JSON
download
home_pageNone
SummaryA library for creating bots in the Bale messenger
upload_time2024-03-30 21:17:29
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseCopyright (c) 2023-present SajjadAlipour2006 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords bale messenger bot api client
VCS
bugtrack_url
requirements httpx
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
  <img src="https://balethon.ir/assets/img/logo.png" width="200" alt="Balethon">
</p>

## Balethon

A library for creating bots in the [Bale](https://www.bale.ai) messenger

## Quick Example

```python
from balethon import Client

bot = Client("TOKEN")


@bot.on_message()
async def greet(message):
    await message.reply("Hello")


bot.run()
```

> You must replace `TOKEN` with the token which [BotFather](https://ble.ir/botfather) gives you in the [Bale](https://www.bale.ai) messenger

## Key Features

- **[Easy](https://balethon.ir/posts/balethon-is-easy)**: Concise and high level programming interface
- **[Fast](https://balethon.ir/posts/balethon-is-fast)**: Optimized and supports asynchronous programming
- **[Documented](https://balethon.ir/posts/balethon-is-documented)**: Learn Balethon in depth with the documentation
- **[Community](https://balethon.ir/posts/balethon-has-community)**: Active and friendly community, you are sure to get answers to your questions
- **[Design](https://balethon.ir/posts/balethon-has-design-options)**: Support for functional as well as object-oriented designs
- **[powerful](https://balethon.ir/posts/balethon-is-powerful)**: Covers the [Bale](https://www.bale.ai) messenger's api and has useful tools to make your job easier
- **[Flexible](https://balethon.ir/posts/balethon-is-flexible)**: Unable to get deprecated and ready for unexpected responses from the [Bale](https://www.bale.ai) messenger's api
- **[Intuitive](https://balethon.ir/posts/balethon-is-intuitive)**: Type-hinted and has great editor support
- **[Extensible](https://balethon.ir/posts/balethon-is-extensible)**: All balethon's systems are easily extensible

## Installing

```bash
pip install Balethon
```

## Links

- [Documentation](https://balethon.ir)
- [GitHub page](https://github.com/Balethon/Balethon)
- [Pypi page](https://pypi.org/project/Balethon)
- [Bale news channel](https://ble.ir/balethon)
- [Bale community chat group](https://ble.ir/join/MTlhN2Q2Mz)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "Balethon",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "bale, messenger, bot, api, client",
    "author": null,
    "author_email": "Sajjad <sajjadalipour2006@gmail.com>, Abolfazl Amiri <soltshen@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/66/5d/995c8199cff82da7cd6c1aec24ccdd08672fffdaf7abb5251daf356dfcc9/Balethon-0.6.6.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\r\n  <img src=\"https://balethon.ir/assets/img/logo.png\" width=\"200\" alt=\"Balethon\">\r\n</p>\r\n\r\n## Balethon\r\n\r\nA library for creating bots in the [Bale](https://www.bale.ai) messenger\r\n\r\n## Quick Example\r\n\r\n```python\r\nfrom balethon import Client\r\n\r\nbot = Client(\"TOKEN\")\r\n\r\n\r\n@bot.on_message()\r\nasync def greet(message):\r\n    await message.reply(\"Hello\")\r\n\r\n\r\nbot.run()\r\n```\r\n\r\n> You must replace `TOKEN` with the token which [BotFather](https://ble.ir/botfather) gives you in the [Bale](https://www.bale.ai) messenger\r\n\r\n## Key Features\r\n\r\n- **[Easy](https://balethon.ir/posts/balethon-is-easy)**: Concise and high level programming interface\r\n- **[Fast](https://balethon.ir/posts/balethon-is-fast)**: Optimized and supports asynchronous programming\r\n- **[Documented](https://balethon.ir/posts/balethon-is-documented)**: Learn Balethon in depth with the documentation\r\n- **[Community](https://balethon.ir/posts/balethon-has-community)**: Active and friendly community, you are sure to get answers to your questions\r\n- **[Design](https://balethon.ir/posts/balethon-has-design-options)**: Support for functional as well as object-oriented designs\r\n- **[powerful](https://balethon.ir/posts/balethon-is-powerful)**: Covers the [Bale](https://www.bale.ai) messenger's api and has useful tools to make your job easier\r\n- **[Flexible](https://balethon.ir/posts/balethon-is-flexible)**: Unable to get deprecated and ready for unexpected responses from the [Bale](https://www.bale.ai) messenger's api\r\n- **[Intuitive](https://balethon.ir/posts/balethon-is-intuitive)**: Type-hinted and has great editor support\r\n- **[Extensible](https://balethon.ir/posts/balethon-is-extensible)**: All balethon's systems are easily extensible\r\n\r\n## Installing\r\n\r\n```bash\r\npip install Balethon\r\n```\r\n\r\n## Links\r\n\r\n- [Documentation](https://balethon.ir)\r\n- [GitHub page](https://github.com/Balethon/Balethon)\r\n- [Pypi page](https://pypi.org/project/Balethon)\r\n- [Bale news channel](https://ble.ir/balethon)\r\n- [Bale community chat group](https://ble.ir/join/MTlhN2Q2Mz)\r\n",
    "bugtrack_url": null,
    "license": "Copyright (c) 2023-present SajjadAlipour2006  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "A library for creating bots in the Bale messenger",
    "version": "0.6.6",
    "project_urls": {
        "Community": "https://ble.ir/join/MTlhN2Q2Mz",
        "Documentation": "https://balethon.ir",
        "Download": "https://github.com/Balethon/Balethon/releases/latest",
        "Homepage": "https://github.com/Balethon/Balethon",
        "Tracker": "https://github.com/Balethon/Balethon/issues"
    },
    "split_keywords": [
        "bale",
        " messenger",
        " bot",
        " api",
        " client"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b5f4680a6c4e64d5c7ecd0f4cd946fd2faa8519e5f324d368e49889d96d52f6d",
                "md5": "368eb0ceab17199322b4f02b30d53bdf",
                "sha256": "be47173ffd5fc32689991d89ed9428431d00480c31bfb67bc2640cc71e12b8ec"
            },
            "downloads": -1,
            "filename": "Balethon-0.6.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "368eb0ceab17199322b4f02b30d53bdf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 77115,
            "upload_time": "2024-03-30T21:17:27",
            "upload_time_iso_8601": "2024-03-30T21:17:27.276433Z",
            "url": "https://files.pythonhosted.org/packages/b5/f4/680a6c4e64d5c7ecd0f4cd946fd2faa8519e5f324d368e49889d96d52f6d/Balethon-0.6.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "665d995c8199cff82da7cd6c1aec24ccdd08672fffdaf7abb5251daf356dfcc9",
                "md5": "b2b499d0957edf4b975decf9f085cc8f",
                "sha256": "9eb39ecde140b42ec24e5e455457268763564ad14f13156ce655819d2d4324a1"
            },
            "downloads": -1,
            "filename": "Balethon-0.6.6.tar.gz",
            "has_sig": false,
            "md5_digest": "b2b499d0957edf4b975decf9f085cc8f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 30063,
            "upload_time": "2024-03-30T21:17:29",
            "upload_time_iso_8601": "2024-03-30T21:17:29.274784Z",
            "url": "https://files.pythonhosted.org/packages/66/5d/995c8199cff82da7cd6c1aec24ccdd08672fffdaf7abb5251daf356dfcc9/Balethon-0.6.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-30 21:17:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Balethon",
    "github_project": "Balethon",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "httpx",
            "specs": []
        }
    ],
    "lcname": "balethon"
}
        
Elapsed time: 0.21444s