Repository navigation
Development
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.
uv run pytest -qReleases go through a reviewed pull request:
- From an up-to-date
main, branchrelease/X.Y.Z. - 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. - Bump
versioninpyproject.toml, runuv lockanduv run pytest -q. - Commit
Release X.Y.Z: <summary>, push, open a PR titledRelease X.Y.Zand ask the other maintainer to review it. - After the merge, tag the merge commit on
mainand 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.
Use the notebook
- Getting started
- Command line
- Running cells
- Keys
- Commands
- Vim
- Markdown cells
- Variables and the debugger
- Images
Set up the workspace
Help and project