Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.73 KB

File metadata and controls

38 lines (26 loc) · 1.73 KB

Async kernel

image Ruff uv basedpyright - checked Built with Material for MkDocs

Async kernel is a Python Jupyter kernel that runs in an anyio event loop.

Highlights

  • Concurrent message handling
  • Debugger client
  • Configurable backend - "asyncio" (default) or "trio backend" 1
  • IPython shell for magic, code completions, and history

Installation

pip install async-kernel

Trio

To add a kernel spec for trio1.

pip install trio
async-kernel -a async-trio

Link to demo

Footnotes

  1. The default backend is 'asyncio'. To add a 'trio' backend, define a KernelSpec with a kernel name that includes trio in it. 2