r/IPython • • Jun 04 '14

Announcing IPython for iPad

Dear IPython community,

I would like to announce the upcoming release of my “IPython for iPad” app, Computable. Find the (preliminary) product page here: http://computableapp.com

Computable comes with a complete SciPy stack consisting of:

  • numpy 1.8.0

  • scipy 0.13.2

  • sympy 0.7.5

  • pandas 0.13.1

  • matplotlib 1.3.1

  • IPython 1.2.0, running on Python 2.7.1.

Due to my release schedule, I could not get all software packages to their lastest versions (e.g., IPython 2.1, SciPy 1.4). These will be updated gradually after the initial release. More packages (e.g., seaborn, scikit learn) are planned for future releases, but for the initial release, I had to limit scope to the core stack.

TeX and LaTeX rendering is supported through MathJax. Matplotlib support for Retina iPads is included.

The app comes with a bunch of example notebooks, most notably Prof. Lorena A. Barba’s lecture notes on fluid dynamics and aerodynamics. These highly polished notebooks look gorgeous on a Retina iPad.

I have tested the app with a wide range of notebooks, and things seem to work well so far. However, I expect a substantial number of issues to surface during beta testing, because of the sheer size and complexity of the bundled software. Thus, I am looking for IPython power users that exercise the app with their favorite notebooks and software packages :)

If you would like to join the beta, please drop me a line at [email protected]. I will then send you detailed instructions on how to install beta builds, report bugs, etc. As a small thank-you for your efforts, every tester will get a free copy once the app is released (I’m aiming for early July).

System Requirements:

  • iOS 7 or higher

  • iPad 2 or newer (although good performance probably only on A7 devices, e.g. iPad Air)

  • The installer bundle (.ipa) currently has around 55MB

kind regards,

Karl Traunmüller

Indie Mac & iOS developer from Linz, Austria

40 Upvotes

23 comments sorted by

5

u/benbini Jun 04 '14 edited Jun 04 '14

this is very, very cool - but might it make more sense down the road to collapse this project into a mobile skin for remote ipython instances that can be accessed via ipad over vpn? currently ipython can be used via web browser and VPN tunnel remotely: the web UI is pretty buggy (completely forgivable, since afaik no active effort has been made to make the platform mobile-compatible) but a huge advantage is that the notebooks stay somewhere centrally accessible. So you can use iPython the normal person way when at home, then have the tablet as an option on the road w/o dealing with getting docs between computers. Please forgive me if this concern is addressed somewhere and I'm simply too stupid to have noticed.

The UI for this project looks awesome and very mobile friendly - does anyone else think it might be worth exploring how to pare this product down to UI only and have the backend resources ex MathJax etc served remotely from the "cloud." Then you can get the beautiful interface without the disadvantages that come with storing/hosting everything local.

In any case glad to see an effort finally being made to bring iPython to the tablet in a reasonable way.

3

u/jkmacc Jun 05 '14

I'd actually like to use this while traveling. Don't want it to require an Internet connection.

1

u/microlarge Jun 05 '14

No internet connection or external service required. Computable is designed to be completely self-contained.

1

u/benbini Jun 05 '14

i could definitely see the as-is version useful for short sessions (if you're doodling with ideas on a train or something) ; but i tend to work off and on on fairly lengthy notebooks, and just don't want to commit to using either the ipad ipython or desktop ipython, but not both, for a given notebook. being able to sync notebooks either from or to remote storage would take care of my concern entirely.

3

u/microlarge Jun 05 '14

You've hit the main weak point. Per the App Store Guidelines, apps that download any executable code will be rejected. Computable has built-in Dropbox sync for input and output data files, but syncing notebooks (which would be super-convenient) is simply not permitted. Sorry.

1

u/roger_ Jun 05 '14

Maybe if there was a simple way to copy and paste in ipynb source text?

1

u/benbini Jun 05 '14

thanks for taking the time to explain. it's a very exciting development in any case and even if apple's policy is too restrictive in this case it'll be great to have this as a supplement to the desktop.

1

u/waylonflinn Oct 04 '14

I'm with you on this. What I really want is a way to control my prexisting Spark based cluster on AWS from my iPad. :-)

I mean really, who doesn't want to wield enormous cloud computing power while sitting on the couch in their jammies? Uncover the secrets to the universe while sipping tea on the veranda!

It might sound like I'm kidding, but lowering the friction required to do amazing things is the way to produce more amazing things. I'm very happy to see this app brought into existence. I'd gladly pay for the feature set that allows me to interface with my own notebook server.

2

u/microlarge Jun 05 '14 edited Jun 05 '14

Dear all,

due to the overwhelming response, I have to close the beta doors. More people than fit into the beta have volunteered to help with testing.

Thanks for the great interest, I will try to answer all questions later today.

regards,

Karl

1

u/roger_ Jun 05 '14

Damn, really hoped I'd get in :(

Can't wait to try this!

2

u/[deleted] Jun 04 '14
  • Is there any sort of Dropbox access to share notebooks?

  • How is this compiled, especially NumPy? What shenanigans did you have to pull? I'd put some licenses on that -- I bet people would use it!

  • Ideally, users could install their own extensions. How do you plan on addressing this? I know the source is non user-editable, so would various releases contain more packages? Could you pull a package from the web somehow?

  • As /u/ivorjawa mentioned, possibly include camera access?

  • Out of curiosity, how fast is the iPad compared to your computer?

  • Will this app still work once Swift becomes the only option for iOS?

I want to give you a hearty pat on the back. This is really incredible, especially the native code and the gorgeous UI.

1

u/microlarge Jun 05 '14
  • Dropbox sync only for input and output data files. Notebook sync unfortunately not possible, see above.

  • With a C compiler :) And Numpy was not the most painful component to get running.

  • That won't be possible, no downloading of code. I will gradually update the existing packages, and include new packages, depending on user feedback.

  • On on iPad Air, performance is pretty good, not too far off from my MacBook Pro.

  • As I understand it, Swift is complementary to Object-C. You can mix and match both, that's no either/or question.

1

u/roger_ Jun 05 '14

Are you familiar with Pythonista (on the iPad)?

People have written small scripts for that which will install pure Python libraries.

1

u/microlarge Jun 06 '14

Yes, I have Pythonista installed on my iPad. Very nice app. I will probably look into the extensibility aspect after the initial release.

1

u/roger_ Jun 05 '14

I doubt Swift is gonna be required any time soon.

1

u/[deleted] Jun 05 '14

I know. I was more curious about calling low level NumPy functions from Swift. I'm most interested in BLAS/LAPACK -- I have an app that uses those functions extensively (and would be almost unusable with out them).

Nevermind, those low level functions will be there. Apple has it's Accelerate framework, and I'm sure that'll get ported.

1

u/roger_ Jun 05 '14

Oh nice, I thought this would require an IPython instance running remotely. Will it still be able to connect to an external kernel?

2

u/microlarge Jun 05 '14

No, no remote kernels. The app is designed to be a stand-alone IPython system.

1

u/jkmacc Jun 07 '14

scikit-learn would be awesome! It can download its own toy data to play with, which would make using it on ios so much easier.

2

u/microlarge Jun 16 '14 edited Jun 19 '14

Yup, scikit-learn is on my list (among seaborn, networkx, and pymc).

1

u/ivorjawa Jun 04 '14

Might be nice to include camera access and OpenCV, as well.

0

u/PhotonBoom Aug 08 '14

The only thing I hate about this app is the icon (doesn't look too professional imho)! Keep up the good work!