[IPython-dev] [sage-cloud] ijulia?
Thomas Kluyver
takowl at gmail.com
Mon Jul 14 14:25:59 EDT 2014
On 12 July 2014 08:09, William Stein <wstein at gmail.com> wrote:
> > To me, this looks like there must be a convention to store that
> > information in the ipynb metadata. Right now, I can only see "name"
> > and "signature". My first idea would be to add an additional key
> > "backend" (?) and the values are "ipython", "python", "julia", "R",
> > "sage", ... with the default being "ipython" of course.
>
> Is this is a suggestion for a way to change IPython notebook itself?
>
> For IPython users: If you start an IPython notebook server (say in
> python mode) and try to open a notebook with backend:'julia', would it
> just give an error and tell the user to run another notebook server
> with a julia backend?
>
No, there will be no need to start another server, the server will simply
start the appropriate kernel.
Our metadata format is a bit different - rather than a single value, it
will be a dictionary of several values, so that, for instance, highlighting
can be done correctly even if the relevant kernel isn't installed. It will
look something like this:
"metadata": {"kernelspec": {"name": "ijulia", "language": "julia",
"codemirror_mode": "julia"}, ...}
For more details see these links:
https://github.com/ipython/ipython/wiki/IPEP-25:-Registry-of-installed-kernels
https://github.com/ipython/ipython/pull/6126
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140714/a3123afe/attachment.html>
More information about the IPython-dev
mailing list