Skip to main content

nonebot-plugin-ipypreter

pypi implementation wheel python license

功能

消息交互式 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)

Source distribution for nonebot-plugin-ipypreter 0.1.5
File Size Uploaded
nonebot-plugin-ipypreter-0.1.5.tar.gz 6.1 kB Details

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

Release history Release notifications | RSS feed

This release

0.1.5 This release

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page