IPython Notebook on IPhone

I am happy to announce that the IPython Notebook now works on the IPhone and therefore more generally on the IOS platform including the IPad. The most challenging aspect has been to port the ZeroMQ message bus backend and associated Python wrappers. Proof of concept screenshots with IPhyton running in the Safari web browser simply pointed at “localhost,” the IPhone’s always present loopback interface are shown below.

In essence this offers both a natively running, web based, Python IDE as well as generally an IPython notebook reader.

Ironically, I am not interested in a Python development environment at all but am rather looking to integrate the Julia Language Matlab Lisp hybrid by replacing the Python kernel with a Julia kernel. For this to work,  I will need to port the linear algebra matrix manipulation library OpenBLAS. The value proposition is that this effort will yield an IOS native IDE for this Lisp/Matlab-clone.

IPython Notebook on iPhone

IPython Notebook on iPhone

IPython Notebook on iPhone

IPython Notebook on iPhone

 

Google Groups Discussion

 https://groups.google.com/forum/#!topic/julia-dev/HRqfLtESo04

Screen Shot 2014-05-11 at 10.22.46 AM

Screen Shot 2014-05-11 at 10.23.12 AM

Screen Shot 2014-05-11 at 10.23.40 AM

 

7 responses to “IPython Notebook on IPhone

  1. Cool! You might want to take a look at the homebrew Julia formula: https://github.com/staticfloat/homebrew-julia/
    Julia seems a bit complex to install.

  2. gallamine

    Great work! I’m very excited about that. I’ve tried doing pythln on ios using the Puthonista app, but it just didn’t suite my style of peogramming. This looks great.

  3. Nice Job! Could be useful to test sort code =).

  4. This is incredible! I think the second hardest challenge here is to have julia running on ARM. I’ve been trying for a while now to have it on a raspberry pi but LLVM on ARM is just too broken yet.

  5. tairo

    Greate – do you think it would be possible to do such a port for FirefoxOS? If I understand correctly if everyithing would be a HTML5 app porting it to iOS and Android would be simple.

  6. Hey, that’s great! Looking around for this kind of stuff I also found http://computableapp.com/ that’s targeted at iPad. Are you considering putting your code up on Github? Have been thinking to make an app/publication based on iPython notebook and this would be a great start.

  7. Today we released the iPython Notebook server for QMole via the QMole repository.

    Like http://computableapp.com which has since been discontinued, the QMole iPython system is a full featured iPython environment for the iPad. Differences are: QMole iPython runs on both iPhone and iPad. QMole iPython runs not as an app in Apple’s “walled garden,” but rather as a service. It won’t be backgrounded and lose your data. It relies on the stock Cydia Python, so whatever you have installed in your Python environment will be available here too. As a server, you simply connect with the Safari browser to localhost:8888. Theoretically, you might connect a browser from another computer over network or replace the Python kernel with another iPython kernel, such as Julia. This really is a stock iPython notebook server. Your notebooks are stored in your home folder /var/mobile and are accessible from QMole file manager and Email app. Share as you would with desktop Linux authored iPython notebooks.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s