Thin control plane for Jupyter notebook execution with jobs, attribution, and runtime lifecycle
Project description
Hypernote
- JupyterLab-first - Hypernote is a thin execution control plane for a Hypernote-enabled JupyterLab server.
- One notebook truth - notebook edits, execution, and late-open JupyterLab views all operate on the same logical document.
- Agent-first surface - the Python SDK is primary, and the CLI is a thin shell over it.
- Ephemeral control plane - Jupyter owns durable
.ipynbcontents and outputs; Hypernote owns in-memory runtimes, jobs, and attribution. - Temporary collaboration journal -
setup servekeeps Jupyter RTC updates in server-local temp storage, not repo-root databases.
What it ships
- notebook-first SDK in
src/hypernote/sdk.py - agent-first CLI in
src/hypernote/cli/main.py - Jupyter server extension for execution and runtime control
- subshell-routed execute, interrupt, and restart so JupyterLab stays usable while Hypernote is running cells
- notebook-scoped runtime lifecycle with attach, detach, recovery, and stop
- job polling and
input()round-trips for agent automation without requiring an open Lab tab - live-server and browser regression coverage for shared-document behavior
Quick start
uv sync
uv run hypernote --help
uv run hypernote setup serve
uv run hypernote setup doctor
uv run hypernote create tmp/demo.ipynb
uv run hypernote ix tmp/demo.ipynb -s 'value = 20 + 22\nprint(value)'
uv run hypernote status tmp/demo.ipynb --full
For another repo's environment, install Hypernote there (uv add hypernote --dev) and run
the same bootstrap command from that repo.
Install
The default install includes the JupyterLab integration stack Hypernote needs: JupyterLab, shared-document support, server-side notebook execution, and the collaboration/docprovider frontend packages.
Use hypernote[dev] only for local development and CI tooling.
Examples:
uv sync
uv sync --extra dev
Mental model
Jupyter owns:
- notebook persistence
- shared YDoc document state
- temporary collaboration journal state for live RTC updates
- kernel and session primitives
- notebook rendering in JupyterLab
Hypernote owns:
- runtime lifecycle around a notebook
- job coordination and stdin round-trips
- actor attribution
- SDK, CLI, and thin REST handlers
Design discipline
- shared behavior should have one owner, usually the SDK for agent-facing observation rules
- command and payload variants should preserve one contract unless a difference is explicit and documented
- adapters should normalize valid upstream shape differences at the boundary
- tests should cover invariants across variants, not only the main workflow
Documentation
Verification
For local development and CI, install the dev tier first:
uv sync --extra dev
uv run ruff check src/hypernote tests
uv run python -m pytest -q
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hypernote-0.4.0.tar.gz.
File metadata
- Download URL: hypernote-0.4.0.tar.gz
- Upload date:
- Size: 199.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d83d5adc0334cc76f010e256f33056b2af11a3fb3948e635ee22cf0406b0d44f
|
|
| MD5 |
605ac34656bbb452217379b5691dded6
|
|
| BLAKE2b-256 |
5ace2bc871029481d27a2c775cc818197334bba0bd74125c53a0cc2ab4e651b1
|
File details
Details for the file hypernote-0.4.0-py3-none-any.whl.
File metadata
- Download URL: hypernote-0.4.0-py3-none-any.whl
- Upload date:
- Size: 51.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20164aa9dee8387d9fff2341e588493237298140cce3340e7b65356ab60aecbf
|
|
| MD5 |
d694aae04f6e816c291819302ebe520f
|
|
| BLAKE2b-256 |
80f1d00cfeaec0e68ba2e9b3c54ab88eea196d06ce8fbdf9577f494d0c9a8185
|