[Envisage-dev] Mathematica-style notebooks
Robert Kern <rkern@...
2005-07-04 02:48:25 GMT
Recently, two students Toni Alatalo and Tzanko Matev were selected to
participate in the Google Summer of Code to work on a Mathematica-style
notebook for ipython. I am helping Fernando as a co-mentor on this project.
The goal is to develop a GUI component that represents a rich-text
document with embedded interactive "cells" that serve as the input
prompt and other cells representing output and graphics. For example, a
milestone that we want to achieve by the end of August is to have the
Scipy tutorial in this notebook format such that the user can open the
notebook, edit one of the example prompts to change, for example, some
input variables and thus change one of the plots.
Although Envisage is not being targetted at this early stage (these guys
have enough to deal with ), we do hope that the component will be
clean enough that it could be plugged in without too much pain.
I have already written some code to read and write an XML-based notebook
format. I can also export those notebooks to reST and HTML. Toni
primarily wants to work on document generation, so he will be tweaking
the format and writing more export code (I did a fair bit of his job for
him. Oops). Tzanko will be working more on the GUI and ipython
integration. His first milestone will be to take a notebook file, render
it unstyled in a wx.StyledTextCtrl, allow one to edit, delete, rearrange
and otherwise manipulate the input and output cells and the surrounding
text, and finally save the results to disk.
If you have any user stories you would like to add, please do so on the
Wiki. We would appreciate your input on any aspect of the project.