IPython Console Plugin

Bug #338121 reported by Brian Parma
2
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Wishlist
Unassigned

Bug Description

I found the console plugin useful for trying to figure out what attributes the different exaile options had, and for testing functions in exaile, but I missed the convenience of IPython's tab auto-complete, ? function, and history (pressing up). So I took the console plugin and upgraded it to an IPython console plugin. Even though it isn't shown in the namespace (I don't know why), APP is exposed to the console as 'exaile', and the window itself is exposed to the console.

I made the colors match what I get on my computer (dark gnome-terminal), but they can be changed easily enough in the code. I might add some preferences to change that for 0.3

attached archive has:
ipconsole.py - plugin
ipconsole/ipython_view.py - handles the IPython stuff

Just extract in the .exaile/plugins directory.

Oh and you need to have IPython installed (http://ipython.scipy.org/moin/). It's in the Ubuntu repos.

Tags: plugins
Revision history for this message
Brian Parma (bj0) wrote :
reacocard (reacocard)
Changed in exaile:
importance: Undecided → Wishlist
Revision history for this message
Brian Parma (bj0) wrote :

Here's the plugin for the current build of of exaile. It will have to be modified if the 'Tools menu' widget in the glade file gets renamed from menuitem5 :).

Should behave (almost) like a normal IPython terminal. Zip files has directory ipconsole/ - just put it in exaile/plugins/

B

Revision history for this message
reacocard (reacocard) wrote :

added in r1782

Changed in exaile:
status: New → Fix Committed
reacocard (reacocard)
Changed in exaile:
milestone: none → 0.3.0
reacocard (reacocard)
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.