nonebot-plugin-code


Namenonebot-plugin-code JSON
Version 0.0.7 PyPI version JSON
download
home_pagehttps://github.com/yzyyz1387/nonebot_plugin_code
Summarynonebot2 plugin run code online
upload_time2023-09-08 10:48:28
maintainer
docs_urlNone
authoryzyyz1387
requires_python
license
keywords pip nonebot2 nonebot nonebot_plugin
VCS
bugtrack_url
requirements nonebot requests setuptools
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
  <a href="https://v2.nonebot.dev/"><img src="https://v2.nonebot.dev/logo.png" width="200" height="200" alt="nonebot"></a>
</p>

<div align="center">

**你的star是我的动力**
**↓**
<img src="https://img.shields.io/github/stars/yzyyz1387/nonebot_plugin_code.svg?style=social">

# 在线运行代码<_ (备考中 可能会更新)

_✨ NoneBot2 在线运行代码<_ ✨_

</div>

取自某个仓库(但实际我忘了是哪儿了),修改增加了输入功能

运行于 [https://glot.io/](https://glot.io/)

## 安装💿

`nb plugin install nonebot-plugin-code`



## 更新日志

0.0.5
 [@Limnium](https://github.com/Limnium)
- 更新了正则的pattern(应该能完美按预期匹配)
- 删去命令中的`-i`使其更简洁
- 完善了返回消息
- 以合并转发的方式发送返回消息

0.0.4
- 更新依赖

0.0.3

- 适配b1
- 异步httpx

0.0.2

## 指令💻

```
code [语言] [inputText(空格将被转换为回车)]
[代码]

运行代码示例(python)(无输入):
    code py
        print("sb")
运行代码示例(python)(有输入):
    code py 你好
        print(input())
```

## 截图🖼

`尚为旧版本截图`
![](code.png)

**给个star吧~**

其他插件
[(不)简易群管](https://github.com/yzyyz1387/nonebot_plugin_admin)
[在线运行代码](https://github.com/yzyyz1387/nonebot_plugin_code)
[工作性价比](https://github.com/yzyyz1387/nonebot_plugin_workscore)
[黑丝插件(停止维护)](https://github.com/yzyyz1387/nonebot_plugin_heisi)



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/yzyyz1387/nonebot_plugin_code",
    "name": "nonebot-plugin-code",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "pip,nonebot2,nonebot,nonebot_plugin",
    "author": "yzyyz1387",
    "author_email": "youzyyz1384@qq.com",
    "download_url": "https://files.pythonhosted.org/packages/16/61/55c345e4360b3c7b26af33c7e23ebe46dbcdbfa799e17d4c469006c32639/nonebot_plugin_code-0.0.7.tar.gz",
    "platform": "any",
    "description": "<p align=\"center\">\n  <a href=\"https://v2.nonebot.dev/\"><img src=\"https://v2.nonebot.dev/logo.png\" width=\"200\" height=\"200\" alt=\"nonebot\"></a>\n</p>\n\n<div align=\"center\">\n\n**\u4f60\u7684star\u662f\u6211\u7684\u52a8\u529b**\n**\u2193**\n<img src=\"https://img.shields.io/github/stars/yzyyz1387/nonebot_plugin_code.svg?style=social\">\n\n# \u5728\u7ebf\u8fd0\u884c\u4ee3\u7801<_ \uff08\u5907\u8003\u4e2d \u53ef\u80fd\u4f1a\u66f4\u65b0\uff09\n\n_\u2728 NoneBot2 \u5728\u7ebf\u8fd0\u884c\u4ee3\u7801<_ \u2728_\n\n</div>\n\n\u53d6\u81ea\u67d0\u4e2a\u4ed3\u5e93\uff08\u4f46\u5b9e\u9645\u6211\u5fd8\u4e86\u662f\u54ea\u513f\u4e86\uff09\uff0c\u4fee\u6539\u589e\u52a0\u4e86\u8f93\u5165\u529f\u80fd\n\n\u8fd0\u884c\u4e8e [https://glot.io/](https://glot.io/)\n\n## \u5b89\u88c5\ud83d\udcbf\n\n`nb plugin install nonebot-plugin-code`\n\n\n\n## \u66f4\u65b0\u65e5\u5fd7\n\n0.0.5\n [@Limnium](https://github.com/Limnium)\n- \u66f4\u65b0\u4e86\u6b63\u5219\u7684pattern\uff08\u5e94\u8be5\u80fd\u5b8c\u7f8e\u6309\u9884\u671f\u5339\u914d\uff09\n- \u5220\u53bb\u547d\u4ee4\u4e2d\u7684`-i`\u4f7f\u5176\u66f4\u7b80\u6d01\n- \u5b8c\u5584\u4e86\u8fd4\u56de\u6d88\u606f\n- \u4ee5\u5408\u5e76\u8f6c\u53d1\u7684\u65b9\u5f0f\u53d1\u9001\u8fd4\u56de\u6d88\u606f\n\n0.0.4\n- \u66f4\u65b0\u4f9d\u8d56\n\n0.0.3\n\n- \u9002\u914db1\n- \u5f02\u6b65httpx\n\n0.0.2\n\n## \u6307\u4ee4\ud83d\udcbb\n\n```\ncode [\u8bed\u8a00] [inputText(\u7a7a\u683c\u5c06\u88ab\u8f6c\u6362\u4e3a\u56de\u8f66)]\n[\u4ee3\u7801]\n\n\u8fd0\u884c\u4ee3\u7801\u793a\u4f8b(python)(\u65e0\u8f93\u5165)\uff1a\n    code py\n        print(\"sb\")\n\u8fd0\u884c\u4ee3\u7801\u793a\u4f8b(python)(\u6709\u8f93\u5165)\uff1a\n    code py \u4f60\u597d\n        print(input())\n```\n\n## \u622a\u56fe\ud83d\uddbc\n\n`\u5c1a\u4e3a\u65e7\u7248\u672c\u622a\u56fe`\n![](code.png)\n\n**\u7ed9\u4e2astar\u5427~**\n\n\u5176\u4ed6\u63d2\u4ef6\n[\uff08\u4e0d\uff09\u7b80\u6613\u7fa4\u7ba1](https://github.com/yzyyz1387/nonebot_plugin_admin)\n[\u5728\u7ebf\u8fd0\u884c\u4ee3\u7801](https://github.com/yzyyz1387/nonebot_plugin_code)\n[\u5de5\u4f5c\u6027\u4ef7\u6bd4](https://github.com/yzyyz1387/nonebot_plugin_workscore)\n[\u9ed1\u4e1d\u63d2\u4ef6\uff08\u505c\u6b62\u7ef4\u62a4\uff09](https://github.com/yzyyz1387/nonebot_plugin_heisi)\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "nonebot2 plugin run code online",
    "version": "0.0.7",
    "project_urls": {
        "Homepage": "https://github.com/yzyyz1387/nonebot_plugin_code"
    },
    "split_keywords": [
        "pip",
        "nonebot2",
        "nonebot",
        "nonebot_plugin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f8d852352dc183dc4a7d73f054a890d08616872afc19a28031d66d5e6edff773",
                "md5": "3659e9446457d24217c9153d07d24b65",
                "sha256": "bc86e2ca111b88b6624dd80bd30c8c6bfc2267a63462cf1a75c38af7db1560bb"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_code-0.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3659e9446457d24217c9153d07d24b65",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5889,
            "upload_time": "2023-09-08T10:48:27",
            "upload_time_iso_8601": "2023-09-08T10:48:27.349570Z",
            "url": "https://files.pythonhosted.org/packages/f8/d8/52352dc183dc4a7d73f054a890d08616872afc19a28031d66d5e6edff773/nonebot_plugin_code-0.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "166155c345e4360b3c7b26af33c7e23ebe46dbcdbfa799e17d4c469006c32639",
                "md5": "a198f1599735da9972a5b585f7709238",
                "sha256": "5cead2c8a31bebd5aa45a515d6258975451326000cb2fafbd19c8b40fb1972b9"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_code-0.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "a198f1599735da9972a5b585f7709238",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5121,
            "upload_time": "2023-09-08T10:48:28",
            "upload_time_iso_8601": "2023-09-08T10:48:28.207812Z",
            "url": "https://files.pythonhosted.org/packages/16/61/55c345e4360b3c7b26af33c7e23ebe46dbcdbfa799e17d4c469006c32639/nonebot_plugin_code-0.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-08 10:48:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yzyyz1387",
    "github_project": "nonebot_plugin_code",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "nonebot",
            "specs": [
                [
                    "==",
                    "1.9.1"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    "==",
                    "2.26.0"
                ]
            ]
        },
        {
            "name": "setuptools",
            "specs": [
                [
                    "==",
                    "58.5.3"
                ]
            ]
        }
    ],
    "lcname": "nonebot-plugin-code"
}
        
Elapsed time: 0.13755s