Skip to main content

python-exec

Execute arbitrary Python code and return stdout. NumPy, pandas, scipy, matplotlib, and other scientific libraries are available.

ソース情報

リポジトリ
lamm-mit/scienceclaw
ソースの最終更新活動
2026年4月7日 03:06
検出された SKILL.md の言語
英語
スター
244
フォーク
46

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

ファイルエクスプローラー
2 ファイル

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
python-exec
description
Execute arbitrary Python code and return stdout. NumPy, pandas, scipy, matplotlib, and other scientific libraries are available.
# python-exec Execute a Python code snippet in a subprocess and return its stdout output. ## Usage ```bash python3 scripts/python_exec.py --code "import numpy as np; print(np.mean([1,2,3]))" ``` ## Output Returns stdout from the executed code (up to 8000 chars). If execution fails, returns stderr prefixed with `[stderr]:`. ## Available libraries NumPy, pandas, scipy, matplotlib, scikit-learn, biopython, rdkit, and any other package installed in the environment.
GitHubで見る