IPython Documentation

Table Of Contents

Previous topic

Module: kernel.ioloop.manager

Next topic

Module: kernel.launcher

This Page

Module: kernel.ioloop.restarter

A basic in process kernel monitor with autorestarting.

This watches a kernel’s state using KernelManager.is_alive and auto restarts the kernel if it dies.

1 Class

class IPython.kernel.ioloop.restarter.IOLoopKernelRestarter(**kwargs)

Bases: IPython.kernel.restarter.KernelRestarter

Monitor and autorestart a kernel.

start()

Start the polling of the kernel.

stop()

Stop the kernel polling.