hydroroll


Namehydroroll JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://hydroroll.retrofor.space/
Summarybot framework.
upload_time2023-04-27 20:19:42
maintainer
docs_urlNone
author简律纯
requires_python>=3.8,<4.0
licenseGPL3.0
keywords bot qq qqbot mirai coolq
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
  <a href="https://turbo.build">
      <img src="image/readme/1682620162817.png" height="128">
    <h1 align="center">HydroRoll'水系</h1>
  </a>
</p>

<p align="center">
  <a aria-label="Vercel Site" href="https://hydroroll.retrofor.space/" target="blank">
    <img src="https://img.shields.io/badge/DOCS%20AND%20BLOGS-000000.svg?style=for-the-badge&logo=Vercel&labelColor=000">
  </a>
  <a aria-label="PYTHON version" href="https://pypi.org/project/hydroroll" target="blank">
    <img alt="" src="https://img.shields.io/pypi/v/hydroroll.svg?style=for-the-badge&labelColor=000000">
  </a>
  <a aria-label="Join the community on GitHub" href="https://github.com/retrofor/hydroroll/discussions" target="blank">
    <img alt="" src="https://img.shields.io/badge/Join%20the%20community-blueviolet.svg?style=for-the-badge&logo=data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8CAgL/CgoK/woKCv8GBgb/BgYG/woKCv8KCgr/AgIC/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/BgYG/0ZGRv9MTEz/JiYm/ygoKP9MTEz/RkZG/wYGBv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==&labelColor=000000&logoWidth=20&logoColor=white">
  </a>
  <br></br>
  <a aria-label="Vercel Site" href="https://hydroroll.retrofor.space/" target="blank">
    <img src="https://img.shields.io/pypi/pyversions/hydroroll?style=for-the-badge&labelColor=000000">
  </a>
    <a aria-label="License" href="https://github.com/retrofor/hydroroll/blob/main/LICENSE" target="blank">
    <img alt="" src="https://img.shields.io/pypi/l/hydroroll.svg?style=for-the-badge&labelColor=000000&color=">
  </a>
</p>

水系是一个基于深度学习框架iamai的跨平台骰系,尽管只是作为iamai的插件示例,但它仍然有自己的创新之处与标准遵循:

- **语法高度严谨且自由**: 命令语法贴切实际,输入灵活方便。

- **概念继承但焕然一新**: 因为开发者混迹的骰系群以及使用过的骰系很多,因此继承学习了相当一部分各个骰系做的比较好的地方,同时也引入了诸多类似(规则模块、世界主、模型模块)等概念。

## 🎁 Getting

1. 安装库

在命令行输入。

``` shell
pip install HydroRoll
```

2. 创建机器人实例

``` shell
mkdir mybot && cd mybot && mkdir plugins 
echo.> config.toml && echo.> main.py :: 创建空的配置文件和python运行脚本
```

在 `main.py` 导入 `Bot` 类, 创建一个 `bot` 实例并开启热加载, 最后通过 `run` 方法启动水系骰娘。

``` python
from hydroroll import Bot

bot = Bot(hot_reload=True)

if __name__ == "__main__":
    bot.run()
```

3. 使用合适的适配器, 合理修改你的 `config.toml` 配置文件, 等待连接!

## 💕 Contributing

欢迎阅读 [CONTRIBUTING.md](./CONTRIBUTING.md)

## 🙋‍ Community

HydroRoll 水系 的论坛在 [GitHub Discussions](https://github.com/retrofor/HydroRoll/discussions), 你可以在这里提出任何问题, 分享任何想法。

目前你可以加入 [![](https://img.shields.io/badge/-QQ群126211793-002FA7?style=flat-square&logo=TencentQQ&logoColor=white)]() 和社区里的其它用户交流, 同时也能在里面体验到最新开发的水系骰子(krypton)。

我们的 [行为准则(Code of Conduct)](https://github.com/retrofor/HydroRoll/blob/main/CODE_OF_CONDUCT.md) 适用于 HydroRoll'水系 社区内的所有交流渠道。

## ✨ Updates

1. 使用 `pip` 更新

``` shell
pip install --upgrade hyrdroroll
```

## 👨‍🚀 Contributors

<a href="https://github.com/retrofor/HydroRoll/graphs/contributors">
  <img width="80" src="https://contrib.rocks/image?repo=retrofor/HydroRoll"/>
</1a>

## 📄 License

[GPL 3.0](https://github.com/HsiangNianian/OlivaBiliLive/blob/main/LICENSE) © 2023-PRESENT [简律纯](https://github.com/HsiangNianian)

            

Raw data

            {
    "_id": null,
    "home_page": "https://hydroroll.retrofor.space/",
    "name": "hydroroll",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "bot,qq,qqbot,mirai,coolq",
    "author": "\u7b80\u5f8b\u7eaf",
    "author_email": "admin@jyunko.cn",
    "download_url": "https://files.pythonhosted.org/packages/f1/57/7263904d26424b9e4b95486b361ba44ede4ef2d1ce45b104539b90229da0/hydroroll-0.1.3.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n  <a href=\"https://turbo.build\">\n      <img src=\"image/readme/1682620162817.png\" height=\"128\">\n    <h1 align=\"center\">HydroRoll'\u6c34\u7cfb</h1>\n  </a>\n</p>\n\n<p align=\"center\">\n  <a aria-label=\"Vercel Site\" href=\"https://hydroroll.retrofor.space/\" target=\"blank\">\n    <img src=\"https://img.shields.io/badge/DOCS%20AND%20BLOGS-000000.svg?style=for-the-badge&logo=Vercel&labelColor=000\">\n  </a>\n  <a aria-label=\"PYTHON version\" href=\"https://pypi.org/project/hydroroll\" target=\"blank\">\n    <img alt=\"\" src=\"https://img.shields.io/pypi/v/hydroroll.svg?style=for-the-badge&labelColor=000000\">\n  </a>\n  <a aria-label=\"Join the community on GitHub\" href=\"https://github.com/retrofor/hydroroll/discussions\" target=\"blank\">\n    <img alt=\"\" src=\"https://img.shields.io/badge/Join%20the%20community-blueviolet.svg?style=for-the-badge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D/AAAA/wAAAP8AAAD/AAAA/zQ0NP9CQkL/ZmZm/yIiIv9WVlb/WFhY/yIiIv9mZmb/QkJC/zY2Nv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP9QUFD/BgYG/0RERP9KSkr/JCQk/yYmJv9KSkr/RERE/wgICP9QUFD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/CgoK/wICAv8KCgr/CgoK/wYGBv8GBgb/CgoK/woKCv8CAgL/CgoK/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==&labelColor=000000&logoWidth=20&logoColor=white\">\n  </a>\n  <br></br>\n  <a aria-label=\"Vercel Site\" href=\"https://hydroroll.retrofor.space/\" target=\"blank\">\n    <img src=\"https://img.shields.io/pypi/pyversions/hydroroll?style=for-the-badge&labelColor=000000\">\n  </a>\n    <a aria-label=\"License\" href=\"https://github.com/retrofor/hydroroll/blob/main/LICENSE\" target=\"blank\">\n    <img alt=\"\" src=\"https://img.shields.io/pypi/l/hydroroll.svg?style=for-the-badge&labelColor=000000&color=\">\n  </a>\n</p>\n\n\u6c34\u7cfb\u662f\u4e00\u4e2a\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60\u6846\u67b6iamai\u7684\u8de8\u5e73\u53f0\u9ab0\u7cfb\uff0c\u5c3d\u7ba1\u53ea\u662f\u4f5c\u4e3aiamai\u7684\u63d2\u4ef6\u793a\u4f8b\uff0c\u4f46\u5b83\u4ecd\u7136\u6709\u81ea\u5df1\u7684\u521b\u65b0\u4e4b\u5904\u4e0e\u6807\u51c6\u9075\u5faa:\n\n- **\u8bed\u6cd5\u9ad8\u5ea6\u4e25\u8c28\u4e14\u81ea\u7531**: \u547d\u4ee4\u8bed\u6cd5\u8d34\u5207\u5b9e\u9645\uff0c\u8f93\u5165\u7075\u6d3b\u65b9\u4fbf\u3002\n\n- **\u6982\u5ff5\u7ee7\u627f\u4f46\u7115\u7136\u4e00\u65b0**: \u56e0\u4e3a\u5f00\u53d1\u8005\u6df7\u8ff9\u7684\u9ab0\u7cfb\u7fa4\u4ee5\u53ca\u4f7f\u7528\u8fc7\u7684\u9ab0\u7cfb\u5f88\u591a\uff0c\u56e0\u6b64\u7ee7\u627f\u5b66\u4e60\u4e86\u76f8\u5f53\u4e00\u90e8\u5206\u5404\u4e2a\u9ab0\u7cfb\u505a\u7684\u6bd4\u8f83\u597d\u7684\u5730\u65b9\uff0c\u540c\u65f6\u4e5f\u5f15\u5165\u4e86\u8bf8\u591a\u7c7b\u4f3c(\u89c4\u5219\u6a21\u5757\u3001\u4e16\u754c\u4e3b\u3001\u6a21\u578b\u6a21\u5757)\u7b49\u6982\u5ff5\u3002\n\n## \ud83c\udf81 Getting\n\n1. \u5b89\u88c5\u5e93\n\n\u5728\u547d\u4ee4\u884c\u8f93\u5165\u3002\n\n``` shell\npip install HydroRoll\n```\n\n2. \u521b\u5efa\u673a\u5668\u4eba\u5b9e\u4f8b\n\n``` shell\nmkdir mybot && cd mybot && mkdir plugins \necho.> config.toml && echo.> main.py :: \u521b\u5efa\u7a7a\u7684\u914d\u7f6e\u6587\u4ef6\u548cpython\u8fd0\u884c\u811a\u672c\n```\n\n\u5728 `main.py` \u5bfc\u5165 `Bot` \u7c7b, \u521b\u5efa\u4e00\u4e2a `bot` \u5b9e\u4f8b\u5e76\u5f00\u542f\u70ed\u52a0\u8f7d, \u6700\u540e\u901a\u8fc7 `run` \u65b9\u6cd5\u542f\u52a8\u6c34\u7cfb\u9ab0\u5a18\u3002\n\n``` python\nfrom hydroroll import Bot\n\nbot = Bot(hot_reload=True)\n\nif __name__ == \"__main__\":\n    bot.run()\n```\n\n3. \u4f7f\u7528\u5408\u9002\u7684\u9002\u914d\u5668, \u5408\u7406\u4fee\u6539\u4f60\u7684 `config.toml` \u914d\u7f6e\u6587\u4ef6, \u7b49\u5f85\u8fde\u63a5!\n\n## \ud83d\udc95 Contributing\n\n\u6b22\u8fce\u9605\u8bfb [CONTRIBUTING.md](./CONTRIBUTING.md)\n\n## \ud83d\ude4b\u200d Community\n\nHydroRoll \u6c34\u7cfb \u7684\u8bba\u575b\u5728 [GitHub Discussions](https://github.com/retrofor/HydroRoll/discussions), \u4f60\u53ef\u4ee5\u5728\u8fd9\u91cc\u63d0\u51fa\u4efb\u4f55\u95ee\u9898, \u5206\u4eab\u4efb\u4f55\u60f3\u6cd5\u3002\n\n\u76ee\u524d\u4f60\u53ef\u4ee5\u52a0\u5165 [![](https://img.shields.io/badge/-QQ\u7fa4126211793-002FA7?style=flat-square&logo=TencentQQ&logoColor=white)]() \u548c\u793e\u533a\u91cc\u7684\u5176\u5b83\u7528\u6237\u4ea4\u6d41, \u540c\u65f6\u4e5f\u80fd\u5728\u91cc\u9762\u4f53\u9a8c\u5230\u6700\u65b0\u5f00\u53d1\u7684\u6c34\u7cfb\u9ab0\u5b50(krypton)\u3002\n\n\u6211\u4eec\u7684 [\u884c\u4e3a\u51c6\u5219(Code of Conduct)](https://github.com/retrofor/HydroRoll/blob/main/CODE_OF_CONDUCT.md) \u9002\u7528\u4e8e HydroRoll'\u6c34\u7cfb \u793e\u533a\u5185\u7684\u6240\u6709\u4ea4\u6d41\u6e20\u9053\u3002\n\n## \u2728 Updates\n\n1. \u4f7f\u7528 `pip` \u66f4\u65b0\n\n``` shell\npip install --upgrade hyrdroroll\n```\n\n## \ud83d\udc68\u200d\ud83d\ude80 Contributors\n\n<a href=\"https://github.com/retrofor/HydroRoll/graphs/contributors\">\n  <img width=\"80\" src=\"https://contrib.rocks/image?repo=retrofor/HydroRoll\"/>\n</1a>\n\n## \ud83d\udcc4 License\n\n[GPL 3.0](https://github.com/HsiangNianian/OlivaBiliLive/blob/main/LICENSE) \u00a9 2023-PRESENT [\u7b80\u5f8b\u7eaf](https://github.com/HsiangNianian)\n",
    "bugtrack_url": null,
    "license": "GPL3.0",
    "summary": "bot framework.",
    "version": "0.1.3",
    "split_keywords": [
        "bot",
        "qq",
        "qqbot",
        "mirai",
        "coolq"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "00858ac1a5d7a3b483b63c5faa7502c7698613d54feb38f6b7d24dc9c0cd79a8",
                "md5": "b9e4e3dff4e60f7c38314fbaa5f8ca5f",
                "sha256": "6f56e97aacf299357cb09bded2a9da0a35b10a5364ce55142f5a8627f273ea15"
            },
            "downloads": -1,
            "filename": "hydroroll-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b9e4e3dff4e60f7c38314fbaa5f8ca5f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 27367,
            "upload_time": "2023-04-27T20:19:41",
            "upload_time_iso_8601": "2023-04-27T20:19:41.022938Z",
            "url": "https://files.pythonhosted.org/packages/00/85/8ac1a5d7a3b483b63c5faa7502c7698613d54feb38f6b7d24dc9c0cd79a8/hydroroll-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f1577263904d26424b9e4b95486b361ba44ede4ef2d1ce45b104539b90229da0",
                "md5": "8e0d245efd3f0f60ab93a74976644cdb",
                "sha256": "7a45d39bd9823df4d18832044a44172454f30a76bc309bbc3e05c2973680be78"
            },
            "downloads": -1,
            "filename": "hydroroll-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "8e0d245efd3f0f60ab93a74976644cdb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 24121,
            "upload_time": "2023-04-27T20:19:42",
            "upload_time_iso_8601": "2023-04-27T20:19:42.370209Z",
            "url": "https://files.pythonhosted.org/packages/f1/57/7263904d26424b9e4b95486b361ba44ede4ef2d1ce45b104539b90229da0/hydroroll-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-27 20:19:42",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "hydroroll"
}
        
Elapsed time: 0.07244s