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에서 보기