omp packages

@cnife/pi-execute-python0.4.0

Execute Python code with uv - streaming output, dependency management

GitHub Actions Published 3 months ago MIT ~226 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

@cnife/pi-execute-python

在 pi 中执行 Python 代码,基于 uv 运行。

功能

  • 实时流式输出
  • 自动管理内联依赖(PEP 723)
  • 自定义 TUI 渲染
  • 错误信息完整展示(折叠/展开模式)

安装

pi install npm:@cnife/pi-execute-python

使用

在 pi 中直接让 AI 编写并执行 Python 代码即可,扩展提供 executePython 工具。