Skip to content

Development

igaurab edited this page Nov 18, 2026 · 2 revisions

Source layout

graph.py dependency analysis · kernel.py IPython kernel in a subprocess via jupyter_client · notebook.py file formats (# %%, scripts, marimo, .ipynb) · vim.py modal editor and completion popup · cell.py one cell · pane.py one notebook window · windows.py tabs and split layout · explorer.py file tree · themes.py / themepicker.py / config.py · outputs.py rich outputs · images.py kitty graphics placements · keymap.py the key table (the help screen is built from it) · variables.py / debugview.py the variables panel and the debugger's pictures · kernel_side.py the debugger inside the kernel · app.py + app.tcss the Textual app.

Tests

uv run pytest -q

Releases

Releases go through a reviewed pull request:

  1. From an up-to-date main, branch release/X.Y.Z.
  2. In CHANGELOG.md, move [Unreleased] entries under ## [X.Y.Z] - YYYY-MM-DD, fill in anything merged without an entry, and add the compare link at the bottom.
  3. Bump version in pyproject.toml, run uv lock and uv run pytest -q.
  4. Commit Release X.Y.Z: <summary>, push, open a PR titled Release X.Y.Z and ask the other maintainer to review it.
  5. After the merge, tag the merge commit on main and push the tag: git switch main && git pull && git tag vX.Y.Z && git push origin vX.Y.Z.

The tag runs .github/workflows/publish.yml: it builds, uploads to PyPI through trusted publishing, and creates the GitHub release with the wheel and sdist attached and that changelog section as its notes. It fails if the changelog has no section for the version.

Clone this wiki locally