← スキル一覧に戻る

python-environment
by sunxd3
⭐ 0🍴 0📅 2026年1月17日
SKILL.md
name: python-environment description: Python environment setup with uv, shared utilities, and script structure guidelines.
Python Environment
Always use uv run. Never search for Python or use venv directly.
uv run uses the venv from the nearest pyproject.toml up the directory tree. Run scripts from the project root:
cd /path/to/project # directory with pyproject.toml
uv run python experiments/experiment_X/fit/run_fit.py
Shared Utilities
shared-utils is a project dependency. Import directly:
from shared_utils import compile_model, fit_model, check_convergence, ...
Read the package source at /workspace/shared_utils/ for API details.
Script Structure
Write small, focused scripts - not monolithic files. Separate concerns:
experiment_X/
fit/
run_fit.py # Main entry point
diagnostics.py # Convergence checks
plots.py # Visualization
Each script should:
- Do one thing well
- Be runnable independently via
uv run python script.py - Import shared logic from
shared_utils
スコア
総合スコア
40/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です