@cnife/pi-execute-python
v0.2.0
Published
Execute Python code with uv - streaming output, dependency management
Downloads
425
Readme
@cnife/pi-execute-python
在 pi 中执行 Python 代码,基于 uv 运行。
功能
- 实时流式输出
- 自动管理内联依赖(PEP 723)
- 自定义 TUI 渲染
- 错误信息完整展示(折叠/展开模式)
安装
pi install npm:@cnife/pi-execute-python使用
在 pi 中直接让 AI 编写并执行 Python 代码即可,扩展提供 executePython 工具。
