r/Python • • Sep 17 '15

Pineapple: A standalone frontend to IPython for Mac

http://nwhitehead.github.io/pineapple/
120 Upvotes

24 comments sorted by

18

u/thaweatherman pipster Sep 17 '15

I'm struggling to see why installing Jupyter and using the WebUI is difficult...

pip install jupyter
jupyter notebook

6

u/kawera Sep 18 '15

Having everything in a single dmg is very handy for teachers.

1

u/mangecoeur Sep 17 '15

well you still need to use the command line (which for some people is a problem). I think the gist is also to have ipython in its own window without the browser ui getting in the way.

12

u/thaweatherman pipster Sep 17 '15

People use Python and aren't able to install libraries/programs from the terminal? How else are they installing libraries or running Python?

How does the browser UI get in the way?

7

u/mangecoeur Sep 17 '15

I find it messy to have the notebook UI nested inside the browser ui. Its the same problem all web-apps have, you're basically running and application inside an application, with keyboard shortcuts overlayed/conflicting each other and UI elements repeated - e.g. you have the "file" menu from the browser and then the 'file' menu from the notebook inside it. You have the extra visual noise from ui elements you need for browsing but not for the notebook. It's just not very neat design, and on a laptop screen it eats quite a lot of space.

As for how people are using libraries without the command line, they could be using a python distribution and simply work only with what comes installed, editing and running using IDLE. Everyone has to start somewhere...

-1

u/[deleted] Sep 18 '15

I lose my notebooks among my sea of tabs all the time. I do a ton of googling / StackOverflow / whatever while I'm working in IPython and it gets to the point where I can't see my favicons anymore and then I can't find my notebook. I like having a dedicated app for my notebooks, so I've been using Pineapple since I saw it on HN yesterday.

2

u/p10_user Sep 18 '15

I like having a dedicated app for my notebooks

Me too, so I always have it in a separate tab reserved for ipython notebooks :). Pineapple looks cool, but I'm not sure that it solves a serious problem for me yet.

3

u/sdsfs23fs Sep 18 '15

so open a new browser window?

1

u/[deleted] Sep 18 '15

Or...use the standalone app?

-2

u/sdsfs23fs Sep 18 '15

no thanks, i'm gonna stick with the perfectly functional system that provides transparent remote access and doesn't require it's own hacked up package manager.

3

u/[deleted] Sep 18 '15

ok

1

u/Michaelmrose Sep 18 '15

tree style tabs and or multiple windows might help

2

u/msdrahcir Sep 18 '15

if you install anaconda, you can literally click an ipython icon in the anaconda launcher and avoid the terminal altogether (shudder). Or use pycharm.

1

u/thaweatherman pipster Sep 18 '15

You can install packages through Pycharm? That's nifty.

2

u/HeyBrandons Sep 17 '15

You can avoid launching in the command line if you use the anaconda launcher - this is probably a better way for newcomers to the notebook

Cool find on pineapple!

3

u/mangecoeur Sep 17 '15

(Note: I did not make this)

9

u/log_2 Sep 18 '15

Most surprised this isn't called Pyneapple.

6

u/[deleted] Sep 17 '15

So... it's the ipython notebook but not in a browser...? Can you install other kernals? Can you export as HTML or PDF?

5

u/sandipc Sep 17 '15

uh, on that note, what about installing other Python packages? Does it just use the system Python/IPython?

5

u/unregisteredusr Sep 17 '15

Some people are saying "just use the command line" but I can definitely see this being useful to people I know who aren't comfortable with that. I don't want to explain "oh yea use sudo pip. Oh you don't have pip? Easy_install it. Oh no sudo easy_install pip. Yea you won't see your password as you type but it's there... Etc etc"

If they provide a Gui to the settings then even i might like it

17

u/Raging_Hippy Sep 17 '15

Shouldn't the kind of person who has a use for this should be comfortable navigating the command line? It's pretty much an essential tool if you're doing any sort of programming.

4

u/unregisteredusr Sep 17 '15

Eh you'd be surprised. Lots of math background folks used to R studio on windows who are otherwise super smart.

1

u/[deleted] Sep 18 '15

This a super cool project. I am wondering about the practical use case though. If everything comes already packaged in the Pineapple application, would it be possible to add, update, and install (additional) libraries? Also, especially in context "The next generation of scientific notebook" I think having separately controlled virtual environments for separate projects is a very good idea (version numbers and reproducibility etc.) ...