### Navigation

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

# Module: `consoleapp`

A minimal application base mixin for all ZMQ based IPython frontends.

This is not a complete console app, as subprocess will not be able to receive input, there is no real readline support, among other limitations. This is a refactoring of what used to be the IPython/qt/console/qtconsoleapp.py

Authors:

- Evan Patterson
- Min RK
- Erik Tollerud
- Fernando Perez
- Bussonnier Matthias
- Thomas Kluyver
- Paul Ivanov

## 1 Class

class `IPython.consoleapp.``IPythonConsoleApp`(**kwargs)

  Bases: `IPython.kernel.connect.ConnectionFileMixin`

  `build_kernel_argv`(argv=None)

    build argv to be passed to kernel subprocess

  `init_connection_file`()

    find the connection file, and load the info if found.

    The current working directory and the current profile’s security directory will be searched for the file if it is not given by absolute path.

    When attempting to connect to an existing kernel and the –existing argument does not match an existing file, it will be interpreted as a fileglob, and the matching file in the current profile’s security dir with the latest access time will be used.

    After this method is called, self.connection_file contains the full path to the connection file, never just its name.

  `init_ssh`()

    set up ssh tunnels, if needed.

  `initialize`(argv=None)
    Classes which mix this class in should call:
      IPythonConsoleApp.initialize(self,argv)
  `kernel_manager_class`

    alias of `KernelManager`

  `load_connection_file`()

    load ip/port/hmac config from JSON connection file

### Navigation

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