Module: kernel.zmq.kernelapp — IPython 2.3.1 documentation

### Navigation

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

# Module: `kernel.zmq.kernelapp`

An Application for launching a kernel

## Authors

- MinRK

## 1 Class

class `IPython.kernel.zmq.kernelapp.` `IPKernelApp`(**kwargs)

  Bases: `IPython.core.application.BaseIPythonApplication`, `IPython.core.shellapp.InteractiveShellApp`

  `cleanup_ipc_files`()

    cleanup ipc files if we wrote them

  `init_blackhole`()

    redirects stdout/stderr to devnull if necessary

  `init_gui_pylab`()

    Enable GUI event loop integration, taking pylab into account.

  `init_heartbeat`()

    start the heart beating

  `init_io`()

    Redirect input streams and set a display hook.

  `init_kernel`()

    Create the Kernel object itself

  `init_session`()

    create our session object

  `load_connection_file`()

    load ip/port/hmac config from JSON connection file

  `log_connection_info`()

    display connection info, and store ports

  `write_connection_file`()

    write connection info to JSON file

## 1 Function

`IPython.kernel.zmq.kernelapp.` `main`()

  Run an IPKernel as an application

### Navigation

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