[IPython-dev] Leo's ipython plugin is complete

Edward Ream edreamleo at yahoo.com
Tue Feb 5 12:54:25 EST 2008


I just updated the Cookbook/LeoIPythonBridge:
http://ipython.scipy.org/moin/Cookbook/LeoIpythonBridge

Here it is:

Leo's ipython plugin provides two-way interaction between IPython and Leo. This
plugin is now essentially complete. For complete user-level documentation, see:
http://webpages.charter.net/edreamleo/IPythonBridge.html

For detailed (exhaustive would be a better word) of the design history of this
plugin, including all the Aha's, see
http://sourceforge.net/forum/forum.php?thread_id=1911662&forum_id=10226

Executive summary:

- Executing the start-ipython command (in Leo) starts IPython in Leo's console.
The start-ipython command also injects an object called leox (for Leo Interface)
into the IPython namespace that gives IPython scripts access to Leo's g and c objects.

- Using these g and c objects, IPython scripts can do *anything* that Leo
scripts can do! They can access data in Leo files, including Leo settings,
insert and delete nodes, open or delete .leo files, etc. Thus, the leox object
is clearly the simplest, most general, most powerful interface between Leo and
IPython.

In short, Leo's ipython plugin now goes way beyond my fondest hopes.

Edward

P.S. I would like to state once again that none of this would have
been possible without Ville's help.

EKR
 
--------------------------------------------------------------------
Edward K. Ream   email:  edreamleo at yahoo.com
Leo: http://webpages.charter.net/edreamleo/front.html
--------------------------------------------------------------------




      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping




More information about the IPython-dev mailing list