Skip to main content

Jusi

Jusi is the Python backend for notebook-style execution used by the jusivim Vim/Neovim plugin.

It is responsible for:

  • kernel lifecycle management
  • notebook execution coordination
  • per-cell client lifecycle
  • plugin handler supervision
  • protocol events and transport metadata for the editor side

Jusi is designed as part of a two-component system:

  • jusivim editor plugin
  • Jusi backend

The backend may run locally or remotely depending on the selected session target.

Entrypoints

Primary editor-facing entrypoint:

  • backend root process: python -m jusi

Internal/support entrypoints used by the backend and jusivim:

  • native terminal attach: python -m jusi client-process terminal-attach
  • plugin runtime starter: python -m jusi plugin-runtime
  • transcript runtime entrypoint: python -m jusi client-runtime

Normal usage is through jusivim, which starts and talks to the backend over the Jusi protocol.

Protocol Features

The backend protocol supports:

  • session start and attach
  • cell execution
  • interrupt and input reply
  • disconnect and reconnect
  • client inspection and shutdown
  • structured handler messaging for plugin follow-up and completion
  • native terminal transport advertisement for interactive handlers

Session metadata may also include:

  • plugin_specs: editor-facing presentation defaults keyed by magic name
  • palette: editor-facing plugin creation metadata keyed by magic name

Cell metadata may include:

  • presentation: authoritative post-handoff presentation metadata for an executed cell
  • runtime_mode: backend-owned runtime mode such as transcript or handler

Documentation

Development Note

Jusi is authored and maintained by notawhaleble. OpenAI Codex assisted with parts of the implementation and release preparation.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jusi-0.1.1.tar.gz (110.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jusi-0.1.1-py3-none-any.whl (76.2 kB view details)

Uploaded Python 3

File details

Details for the file jusi-0.1.1.tar.gz.

File metadata

  • Download URL: jusi-0.1.1.tar.gz
  • Upload date:
  • Size: 110.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for jusi-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e6be444a58cab4cacbcd65074af2d3438f6a2665203b6d0860e683f6e74b5c38
MD5 e68c3489d6dc7d36af2d908dd1adaf10
BLAKE2b-256 8e7028e2eb9bd7674b7d05d3360c92cb3e559470bf9ad491a6073c2a3c864aee

See more details on using hashes here.

File details

Details for the file jusi-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: jusi-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 76.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for jusi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0018421810ffa6261ee70df8a75e976c4b64733096289d60b35da21885841c91
MD5 b6488a86608113b497ea98037ae1cf43
BLAKE2b-256 3178ed31f400f7236e0a60dddbd15c87e0b7dc1fdcb3588b18ff85527fc4dfe5

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.1

2 files

1.0.0

2 files

This release

0.1.1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page