nonebot-plugin-ipypreter
- 基于 nonebot2
功能
消息交互式 Python 解释器
可以在 Docker 内执行任何 Python 语句并返回结果
快速开始 Quickstart
注意
由于使用了 colon equal
使用前请保证python>=3.8
pip install nonebot-plugin-ipypreter
如果你使用的是nb-cli,此时bot.py会自动添加nonebot.load_plugin('nonebot-plugin-ipypreter')
若没有,请手动添加
docker pull python
请保证 docker images 包含python:latest
bot 指令
进入交互环境
python
aliases=['python3']
查看历史输入
history
离开交互环境
exit
aliases=['exit()', 'quit']
配置项 Env
PLUGIN_IPYPRETER_IMAGE: your_docker_image_tag
特别感谢
优化建议
如有优化建议请积极提交 issues 或者 pull requests
Metadata
Release files for nonebot-plugin-ipypreter 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot-plugin-ipypreter-0.1.5.tar.gz | 6.1 kB | Without provenance | Details for nonebot-plugin-ipypreter-0.1.5.tar.gz |
Release files / nonebot-plugin-ipypreter-0.1.5.tar.gz
| Download URL | nonebot-plugin-ipypreter-0.1.5.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30205fb47b7c8c742d539594412426666553e645c36f1123dc81b2c8968e2e87
|
|
BLAKE2b-256 checksum How to use checksums |
4753dcfac22744270c4c685ae6540e010f1cb072d94ec4f31a9b2e97bff6b88f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Security for nonebot-plugin-ipypreter 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.