Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

[wishlist] Automatically find existing kernel #691

Closed
takluyver opened this Issue · 1 comment

2 participants

@takluyver
Owner

As mentioned in #688, I'd like to be able to connect a frontend to an existing console without manually specifying the necessary ports at the command line. Ideally, ipython qtconsole --existing would find and connect to the most recently started active kernel. If more than one kernel is running on the machine, there should also be a simple option to select one, perhaps by PID (ipython qtconsole --existing=6341).

I think that this should be possible if we store the port numbers in connection files similar to those used by IPython.parallel.

@minrk
Owner

Yes, there are many benefits to using the model in IPython.parallel, including this, and I think it has always been the plan to do so. It's just that nobody has gotten around to implementing it. It should be super easy, though.

@minrk minrk closed this issue from a commit
@minrk minrk Merge PR #847 (connection files)
* JSON connection files are now used to connect files
* HMAC message signing is now on by default in all IPython apps
* Adds IPython.lib.kernel, which contains utility functions for connecting
  clients. These were mostly copied out of qtconsoleapp in order to be
  more general.
* Adds %connection_info and %qtconsole magics to zmqshell

closes gh-688
closes gh-806
closes gh-691
f93a8ca
@minrk minrk closed this in f93a8ca
@ellisonbg ellisonbg referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@mattvonrocketstein mattvonrocketstein referenced this issue from a commit in mattvonrocketstein/ipython
@minrk minrk Merge PR #847 (connection files)
* JSON connection files are now used to connect files
* HMAC message signing is now on by default in all IPython apps
* Adds IPython.lib.kernel, which contains utility functions for connecting
  clients. These were mostly copied out of qtconsoleapp in order to be
  more general.
* Adds %connection_info and %qtconsole magics to zmqshell

closes gh-688
closes gh-806
closes gh-691
906733a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.