[IPython-dev] Creating a Mathemtica notebook like GTK Interface?for sympy

MinRK benjaminrk at gmail.com
Thu Apr 3 15:20:57 EDT 2008

Most of the notebook stuff we have focuses on metadata management,
persistence, and collaboration using the database system.  There is a
rudimentary ajax front end to this called ipnotebook.  The notebook does not
yet have any notion of images, the only data it stores is stdin/out/err,
along with some additional metadata.

At Sage Days 8 we discussed ideas for a show() method, which would be UI and
connection dependent for what it would actually do (much of our difficulty
comes from the fact that we need to use show() on a remote engine, and have
it appear on the client).  But we have not produced any code for this.

I would recommend using our notebook stuff as the basis of your data
structure/file format, but any visualization work you do would not be
redundant (and would be super cool).

-Min RK

On Thu, Apr 3, 2008 at 11:08 AM, Gael Varoquaux <
gael.varoquaux at normalesup.org> wrote:

> On Thu, Apr 03, 2008 at 05:47:48PM +0000, Philipp Strack wrote:
> > Do you know whether there is anywork done inside ipython to visualize
> > python objects inside the Textview (of e.g. the gtk example)? Does
> > something like this make sense (as it probably breakes compatibility
> > between the terminals)? Would such a feature have a place inside
> > ipython?
> Not directly inside ipython, I think, but we discussed passing around
> objects that could have a repr_wx method, that would be called by
> the wx frontend to represent them. You could have a hierachy of methods
> to represent an object, with the string method < unicode method < raster
> picture method < vector picture method < gui/web front-end specific
> method.
> This is of course currently just vapor ware, and needs more thinking.
> And this could only work with ipython1. There is a embryo of wx front end
> in ipython1 that you can see on:
> http://bazaar.launchpad.net/~ipython/ipython/ipython1-dev/files/gael.varoquaux%40normalesup.org-20080326023356-xm3yc935ky5q3zq8?file_id=wx-20080302203151-17poomviavsf2zjj-109<http://bazaar.launchpad.net/%7Eipython/ipython/ipython1-dev/files/gael.varoquaux%40normalesup.org-20080326023356-xm3yc935ky5q3zq8?file_id=wx-20080302203151-17poomviavsf2zjj-109>
> ). All this is not terribly advanced though, and does not make use of
> Min's notebook features. Maybe you should ping Min about them, I am not
> sure he is following the discussion, and he is the one who thought about
> this most.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20080403/f4ec19d2/attachment.html>

More information about the IPython-dev mailing list