← スキル一覧に戻る

jupyter-notebook
by i9wa4
⭐ 6🍴 0📅 2026年1月24日
SKILL.md
name: jupyter-notebook description: Jupyter Notebook Expert Skill - Guide for notebook execution and Databricks kernel integration
Jupyter Notebook Expert Skill
This skill provides a guide for Jupyter Notebook execution.
1. Databricks Jupyter Kernel
https://github.com/i9wa4/jupyter-databricks-kernel
uv pip install jupyter-databricks-kernel
uv run python -m jupyter_databricks_kernel.install
2. Default Execution Method
When instructed to execute an entire notebook, use this command:
uv run jupyter execute <notebook_path> --inplace --timeout=300
3. Execute with Databricks Kernel
When running notebook on Databricks cluster:
uv run jupyter execute <notebook_path> --inplace --kernel_name=databricks --timeout=300
Required environment variables:
DATABRICKS_HOST: Databricks workspace URLDATABRICKS_TOKEN: Personal Access TokenDATABRICKS_CLUSTER_ID: Cluster ID
4. Usage Examples
# Execute with local Python kernel
uv run jupyter execute /workspace/notebooks/sample.ipynb --inplace --timeout=300
# Execute with Databricks kernel
uv run jupyter execute /workspace/notebooks/databricks-sample.ipynb --inplace --kernel_name=databricks --timeout=300
5. Option Descriptions
--inplace: Overwrite original file with execution results--kernel_name=<name>: Specify kernel to use (databricks, python3, etc.)--timeout=<seconds>: Set timeout in seconds (-1 for unlimited)--startup_timeout=<seconds>: Kernel startup timeout (default 60 seconds)--allow-errors: Continue execution to end even with errors
6. Notes
- Verify required environment variables are properly set before execution
- Adjust
--timeoutvalue for long-running cells - If open in VS Code, verify file updates after execution
- For Databricks kernel, cluster startup takes 5-6 minutes if stopped
7. Reference Links
- jupyter-databricks-kernel: https://github.com/i9wa4/jupyter-databricks-kernel
- Jupyter nbclient: https://nbclient.readthedocs.io/
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です