Rev 5488: importing IPython .ipynb to Leo outlines

129 views
Skip to first unread message

Edward K. Ream

unread,
Oct 8, 2012, 5:56:11 PM10/8/12
to leo-e...@googlegroups.com
Rev 5488 contains a prototype for importing IPython notebook (.ipynb) files into Leo.  In theory, this would allow two-way interchanges between Leo outlines and the outlines in IPython notebooks.

At present, the prototype simply converts a string containing the contents of a .ipynb file to a Leo outline.  A few details remain, but it shows that such conversion is straightforward.  Otoh, this is just a first step: we would like the Leo outline to support most of the features of IPython notebooks, including embedded images, etc.

I've successfully installed IPython 0.13 on a Linux machine and I'll be using the installation to explore integration issues.

Edward

Alia K

unread,
Dec 11, 2012, 12:23:34 AM12/11/12
to leo-e...@googlegroups.com


On Tuesday, October 9, 2012 12:56:11 AM UTC+3, Edward K. Ream wrote:
Rev 5488 contains a prototype for importing IPython notebook (.ipynb) files into Leo.  In theory, this would allow two-way interchanges between Leo outlines and the outlines in IPython notebooks.

Awesome!

May a suggest a radical thought exercise that only occurred to me after seeing what can be achieved in terms of in-browser editing with http://codemirror.net/:

Why not create an ipython notebook "plugin" version of leo which would only provide core leo functionality: outlines, literate programming, and clones, but would not be burdened by having to support legacy leo plugins.

You could leverage all the mad goodness and momentum that is happening with ipython right now (interactivity, parallelism, networking and collaboration, interactive access to javascript libs like d3.js, etc.., inline images, and movies, and cell magic, etc..). Since ipython is pretty much pervasively used ... it could be a good thing for leo (-:

AK

SA

Ville M. Vainio

unread,
Dec 11, 2012, 2:16:41 AM12/11/12
to leo-editor
I feel that parallelism is not all that useful for most people; it's mostly a scientific computing thing.

I also feel that Leo community should not spread itself too thin and branch out everywhere. There is lots of room to improve in current desktop version of Leo, even if diversions like the Ace editor are fun every now and again.




--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To view this discussion on the web visit https://groups.google.com/d/msg/leo-editor/-/5e9O6ZZ-dLwJ.

To post to this group, send email to leo-e...@googlegroups.com.
To unsubscribe from this group, send email to leo-editor+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.

Kent Tenney

unread,
Dec 12, 2012, 1:18:49 PM12/12/12
to leo-editor
Here comes IPython

http://mail.scipy.org/pipermail/ipython-dev/2012-December/010799.html

"We are proud to announce that we've received funding from the
Alfred P. Sloan foundation (http://sloan.org) that will support
IPython development for the next two years.

Thanks to this $1.15M grant..."

wow

Terry Brown

unread,
Dec 12, 2012, 2:10:15 PM12/12/12
to leo-e...@googlegroups.com
On Wed, 12 Dec 2012 12:18:49 -0600
Kent Tenney <kte...@gmail.com> wrote:

> Here comes IPython
>
> http://mail.scipy.org/pipermail/ipython-dev/2012-December/010799.html
>
> "We are proud to announce that we've received funding from the
> Alfred P. Sloan foundation (http://sloan.org) that will support
> IPython development for the next two years.
>
> Thanks to this $1.15M grant..."

So this is going to be a huge momentum surge for IPython. The link
above says: "...Furthermore, Matthew Brett and JB Poline of Nipy fame
will be working part-time on the development of notebooks for applied
statistics in collaboration with Jonathan Taylor..." Meaning what, Leo
like apps?

Should be make a point of making sure these people are aware of Leo,
not because they have to do anything with it, but just so they're aware
going forwards?

I know Ville was involved in IPython dev. in the past.

Cheers -Terry


Ville M. Vainio

unread,
Dec 18, 2012, 5:47:07 AM12/18/12
to leo-editor
There was a long discussion around Leo back when IPython notebook development started (as a gsoc project). Notebook was not based on web technologies back in the day.

IIRC, this discussion was what raised my curiosity about Leo back in the day :-).


--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
Reply all
Reply to author
Forward
0 new messages