IPython Documentation

Table Of Contents

Previous topic

Module: kernel.zmq.iostream

Next topic

Module: kernel.zmq.kernelapp

This Page

Module: kernel.zmq.ipkernel

An interactive kernel that talks to frontends over 0MQ.

1 Class

class IPython.kernel.zmq.ipkernel.Kernel(**kwargs)

Bases: IPython.config.configurable.Configurable

abort_request(stream, ident, parent)

abort a specific msg by id

clear_request(stream, idents, parent)

Clear our namespace.


dispatch control requests

dispatch_shell(stream, msg)

dispatch shell requests


step eventloop just once


enter eventloop

execute_request(stream, ident, parent)

handle an execute_request


Record the ports that this kernel is using.

The creator of the Kernel instance must call this methods if they want the connect_request() method to return the port numbers.


register dispatchers for streams