nonebot-plugin-code


Namenonebot-plugin-code JSON
Version 0.0.8 PyPI version JSON
download
home_pagehttps://github.com/yzyyz1387/nonebot_plugin_code
Summarynonebot2 plugin run code online
upload_time2024-08-21 16:09:25
maintainerNone
docs_urlNone
authoryzyyz1387
requires_pythonNone
licenseNone
keywords pip nonebot2 nonebot nonebot_plugin
VCS
bugtrack_url
requirements No requirements were recorded.
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.8
[@snowykami](https://github.com/snowykami)
- 修复 Message(res) 存在的CQ码注入问题 [#10](https://github.com/yzyyz1387/nonebot_plugin_code/pull/10)

0.0.7
- 📜 添加 Metadata

0.0.6
[@ElainaFanBoy](https://github.com/ElainaFanBoy)
- 适配 glot.io 所有语言 [#7](https://github.com/yzyyz1387/nonebot_plugin_code/pull/7) 


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": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "pip, nonebot2, nonebot, nonebot_plugin",
    "author": "yzyyz1387",
    "author_email": "youzyyz1384@qq.com",
    "download_url": "https://files.pythonhosted.org/packages/32/7e/f9e68448993f3705bb2928988f9e8cac0fb2c1965f7ab8bdd5e22b8f4e34/nonebot_plugin_code-0.0.8.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\n0.0.8\n[@snowykami](https://github.com/snowykami)\n- \u4fee\u590d Message(res) \u5b58\u5728\u7684CQ\u7801\u6ce8\u5165\u95ee\u9898 [#10](https://github.com/yzyyz1387/nonebot_plugin_code/pull/10)\n\n0.0.7\n- \ud83d\udcdc \u6dfb\u52a0 Metadata\n\n0.0.6\n[@ElainaFanBoy](https://github.com/ElainaFanBoy)\n- \u9002\u914d glot.io \u6240\u6709\u8bed\u8a00 [#7](https://github.com/yzyyz1387/nonebot_plugin_code/pull/7) \n\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": null,
    "summary": "nonebot2 plugin run code online",
    "version": "0.0.8",
    "project_urls": {
        "Homepage": "https://github.com/yzyyz1387/nonebot_plugin_code"
    },
    "split_keywords": [
        "pip",
        " nonebot2",
        " nonebot",
        " nonebot_plugin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c70d94dc2c432c58661b86bcca2b5744127cb10ac7dbf2723d36fe691a8eae2d",
                "md5": "80dfcdaf545b5946bb61eab33c2b4422",
                "sha256": "c99d83301aaf50e3041a3fca0b50873afee4116c39f585771fc1920bacf9dceb"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_code-0.0.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "80dfcdaf545b5946bb61eab33c2b4422",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 6057,
            "upload_time": "2024-08-21T16:09:23",
            "upload_time_iso_8601": "2024-08-21T16:09:23.845722Z",
            "url": "https://files.pythonhosted.org/packages/c7/0d/94dc2c432c58661b86bcca2b5744127cb10ac7dbf2723d36fe691a8eae2d/nonebot_plugin_code-0.0.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "327ef9e68448993f3705bb2928988f9e8cac0fb2c1965f7ab8bdd5e22b8f4e34",
                "md5": "393d69eb49bf27d784070d022146dc38",
                "sha256": "6743b62e047f6b3fa8edcc117f4b01e052629ee06e16cbdee8a40b994804e1ad"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_code-0.0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "393d69eb49bf27d784070d022146dc38",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5268,
            "upload_time": "2024-08-21T16:09:25",
            "upload_time_iso_8601": "2024-08-21T16:09:25.228415Z",
            "url": "https://files.pythonhosted.org/packages/32/7e/f9e68448993f3705bb2928988f9e8cac0fb2c1965f7ab8bdd5e22b8f4e34/nonebot_plugin_code-0.0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-21 16:09:25",
    "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": [],
    "lcname": "nonebot-plugin-code"
}
        
Elapsed time: 1.14005s