### Navigation

- index
- modules |
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »

# 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`

  `__init__`(**kwargs)
  `abort_request`(stream, ident, parent)

    abort a specific msg by id

  `clear_request`(stream, idents, parent)

    Clear our namespace.

  `dispatch_control`(msg)

    dispatch control requests

  `dispatch_shell`(stream, msg)

    dispatch shell requests

  `do_one_iteration`()

    step eventloop just once

  `enter_eventloop`()

    enter eventloop

  `execute_request`(stream, ident, parent)

    handle an execute_request

  `record_ports`(ports)

    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.

  `start`()

    register dispatchers for streams

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »