dong-victor/dsh-better-sidebar-jupyter

dong-victor★ 0TypeScript最后同步: 2026-08-19

在 GitHub 打开

README 摘要

dsh-better-sidebar-jupyter Jupyter notebook support for dsh-better-sidebar: .ipynb files open inline in the sidebar editor as a runnable notebook view — Python syntax highlighting, cell execution through a lazy-start Python kernel ( jupyter client + ipykernel via python/bridge.py ), streaming outputs, and save-back. Merged from the Jupyter support of @dong-victor/dsh-explorer , adapted to the better-sidebar plugin architecture: the viewer registers through the ctx.betterSidebar.registerFileViewer service, and every route is session-scoped — the notebook must live inside the conversation's working directory. Requirements - dsh-better-sidebar ≥ 0.13.0 (the registerFileViewer service) - Python with jupyter client and ipykernel for cell execution: pip install jupyter client ipykernel Install (or add it from the Side card settings → 文件预览 → “添加预览插件”.) What you get - .ipynb opens in the sidebar editor (single-click in the explorer / any open-path flow), rendered by the inline notebook viewer. - IDEA/PyCharm-style run mode — shortcuts and toolbar mirror IntelliJ's Jupyter support (Windows keymap): - Ctrl+Enter — run the current cell (stays in the cell for editing). - Shift+Enter — run the …

在 GitHub 查看完整 README →
皮肤/UIdshdsh-better-sidebardsh-plugindsh-pluginssidebar

分类