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
آخر نشاط في المصدر
٧ أبريل ٢٠٢٦ في ٠٣:٠٦
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٢٤٤
التفرعات
٤٦

خيارات التثبيت

يُحدَّد 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