r/Python • u/theglamp • Apr 23 '15
Rodeo: A data science IDE for Python
http://blog.yhathq.com/posts/introducing-rodeo.html29
u/jdmarino Apr 23 '15
I use Spyder. (It seems to target the data science need.) How is Rodeo better?
7
u/hharison Apr 24 '15
For me, the main reason I might use it, is that it is browser-based. If I can figure out the appropriate security precautions and get the URLs working, I can leave it running on the workhorse PC in my office and get work done from my Chromebook.
2
1
u/cauthon Apr 24 '15
Why not just use iPython with tmux or screen?
1
u/hharison Apr 24 '15
That's just a console, I would prefer an IDE. For example I use RStudio Server for R work.
This is actually close to what I do now, tmux and vim and ipython. At least, when I'm doing something more in-depth than I would use the notebook for. But I would prefer a browser-based IDE that contains a terminal and an editor as I still have a long ways to go before I feel comfortable in vim.
1
Apr 24 '15
IPython Notebook.
1
u/hharison Apr 24 '15
At least, when I'm doing something more in-depth than I would use the notebook for.
I guess the grammar there was a little awkward, to clarify: I use IPython Notebook for data analysis and quick one-off stuff, but when I'm working on a larger project (say, a library) the notebook doesn't cut it. Then I work over ssh or locally with a ChromeOS editor. But Rodeo seems preferable to both those options.
I'll still use the notebook for data analysis and other stuff that has a linear flow, but it doesn't cut it for larger projects.
-13
u/homercles337 Apr 23 '15
I use python. How is Spyder better?
14
u/jdmarino Apr 23 '15
Spyder is a window with multiple panes: an editor, an IPython prompt, and an object explorer. You can create cells in the code like an IPython notebook and run them individually.
My question for the OP stems from the fact that Spyder already exists; why do we need Rodeo?
2
u/jkmacc Apr 23 '15
Since it is served, it allows you to edit and run python on a server without having to log into, mount, or install anything, not even X11. It's not as full-featured as Spyder, but that may not be the point.
1
-16
u/homercles337 Apr 24 '15
And my question was why do we need either of those things?
8
u/dibsODDJOB Apr 24 '15
For people that use Python as data or numerical analysis, or are coming from Matlab, an IDE like Spyder has many features that a regular IDE might not have that cater to a subset of people. You don't need Spyder to do Web Development, although you could.
Spyder isn't better than Python. Spyder makes using Python better for certain types of people.
2
u/alcalde Apr 24 '15
Because it speeds up development time and increases productivity. This was realized back in the early 1980s with Phillipe Kahn, Borland, and Turbo Pascal 1.0. Integration streamlines things; it's a general principle that applies far beyond programming.
13
u/alcalde Apr 23 '15
Honestly I'm not seeing the point. "It's like IPython... except it does less!" really wouldn't appeal to anyone but the Arch/Gentoo/Slackware/TinyCore Linux crowd.
What type of hardware was IPython being run on that made it feel "bloated"? My last PC had 2GB of memory and the old notebook I have has a single core 32bit processor, 512MB of memory, and a 70GB 4200rpm IDE hard drive and I can run OpenSUSE Linux with full KDE desktop on it. PyCharm's a bit slow on that, but the Eric5 IDE runs just fine.
4
u/elbiot Apr 24 '15
I don't think its a bloat related to performance. I think they mean visually. They compare it to vim/sublime probably in terms of visual/layout efficiency and keyboard efficiency.
3
u/flying-sheep Apr 24 '15
they should click on “Help/Keyboard shortcuts” once.
insert a code cell in the middle of a markdown cell? (Start in edit mode with the cursor where you want to split)
Shift+Ctrl+-to split
Escto go to command mode
ato insert a code celland the reverse? (Start in command mode with the code cell selected)
xto cut/delete the code cell
Shift+mto merge the two markdown cells3
u/statmobile Apr 23 '15
I've never heard of Eric, it looks pretty neat. For those interested, here's the link:
I'm still hoping to get Python 3 support going on Spyder on OS X, because I'm always a little more intrigued by open source IDE's.
1
u/takluyver IPython, Py3, etc Apr 24 '15
I'm still hoping to get Python 3 support going on Spyder on OS X
Isn't it already supported? I used Spyder with Python 3 for quite a while on Linux. I'd be surprised if OS X was much different.
1
u/statmobile Apr 24 '15
Not yet, unfortunately. I've been trying to help with Carlos, but it looks like there are issues with py2app, which is specifically for building OS X apps, and what he uses to build it.
2
Apr 24 '15
I ran an IPython notebook on a raspberry pi b+ and it made the notebook feel bloated. Now I'm running one and a pi 2 and it runs like a champ.
4
Apr 23 '15
Never fully hopped onto the ipython bandwagon. This looks much more my style. Very excited to test it out.
3
u/jdmarino Apr 23 '15
Same here. I've been using Spyder: http://spyder-ide.blogspot.com/ That's why I asked the OP how Rodeo is better.
4
Apr 23 '15
Does it only work for python? Does it have widgets? Because probably one of the coolest things about the notebook is that I can use it for R and Python 2 and 3 and anything else I would like...
5
Apr 24 '15
You should check this out then:
It does do R, Python 2/3, Julia, Ruby, Node, Javascript, HTML (and more) - and better yet is working on methods to pass data between all of those. I.e., mung/wrangle your data in python/R, push to javascript and visualize in full D3.js. It's still a bit beta, but it's heading in a good direction I think.
2
u/flying-sheep Apr 24 '15
hmm, it’s pretty much the same as IPython in it’s current state, and Jupyter in a few months. what’s the advantage?
1
Apr 24 '15
For me the major advantage is the fluidity between IPython and Javascript, mainly for more complex and interactive D3 visualizations.
1
Apr 24 '15
Will Jupyter have a variable editor and code cells in different languages?! (please say yes, please say yes...) I just saw a post from minrk saying he hope Rodeo takes away some demand for more IDE features in the notebook... Which I don't like at all.
1
u/flying-sheep Apr 24 '15
jupyter already supports multiple kernels. if more than one kernel per notebook is planned: idk.
and a variable editor is probably not on the table…
1
Apr 24 '15
Yeah I thought you might be on the dev team. The multi kernel thing has been talked about but passed over, I THINK... And I agree the variable editor doesn't seem important to them.
1
1
Apr 24 '15
I love that actually. Now if I can just get it to work on my VM...
1
Apr 24 '15
I've had the best luck with the docker container, it takes a while to build it all, but appears to have everything working all in one.
3
u/laMarm0tte Apr 23 '15
This looks cool, but does it do file path autocompletion ? I just tried it and it doesn't seem so.
2
u/hharison Apr 23 '15
Cool! Now to figure out how to set it up behind a nginx reverse proxy. Is there a way to set the base URL and other IPython settings?
2
u/drincruz Apr 23 '15
Bah, the bloody ctrl + ENTER runs the "highlighted code or current line". I was used to ipython notebook and how it would run the entire block. Oops.
This looks pretty neat so far though. I'll give it a go for a bit.
2
u/iamaziz Apr 24 '15
Another reason to love Python! for the diversity of options available for use. Thanks yhat!
2
u/roger_ Apr 24 '15
Does this only display pandas DataFrame's, or can it display arbitrary variables?
1
u/gboeing Apr 23 '15
Can anyone tell me more about IPython bloat? What particular aspects/ features do you consider bloat?
5
u/flying-sheep Apr 24 '15
i hate the term. bloat basically means “the specific features that i don’t happen to use, no matter how much they don’t affect me”.
c++ features without performance impact are “bloat” (because… they exist? they take up space in the TOC of the docs? they take up a few kB of disk space?)
menu items that you don’t use are “bloat” (because obviously the cognitive burden of skipping over them is unbearable)
setting panels in the option window that you don’t need are bloat (because they EXIST. BAH!)
if people just stop saying that word, maybe they’d actually say something useful.
2
Apr 24 '15
And if you think there is some bloaty feature in the notebook feel free to edit your notebook layout... It's just JS.
1
u/tadeadliest Apr 23 '15
I love this idea. It looks way cleaner than almost every IDE I have ever seen, and I like the idea of being able to have plot graphs with data built in.
1
-5
u/jjangsangy Apr 24 '15 edited Apr 24 '15
I'll use it when it runs stable on Python 3.
For now tho I think I'll stick to NodeDotJS and NET and C## since they all have simple IDEs that do all the programming.
2
u/alcalde Apr 24 '15
Wait,what? Your C# IDE does all the programming for you? Then why did Steve Ballmer chant "Developers, developers, developers"?
0
Apr 23 '15
[deleted]
8
Apr 23 '15
I wouldn't say that it's bloated, but I have sometimes felt that the ipython notebook feels kind of cumbersome for actually doing the exploratory-type data analysis. For example, if I'm revising a script, in iPython notebook it feels kind of weird to navigate between the cells the way you have to.
I think iPython notebooks are a revolutionary way to share data analysis once it's been completed, but I can see how someone might feel it gets a little in the way of actually doing the analysis.
10
u/alcalde Apr 23 '15
There was a good story about this concept of "bloat". It's an obsession with certain Linux users. In the story the Linux user strips out the desktop, the package manager, all the software because it's all bloat. In the end they're upset about Unicode and all those extra characters they don't use. :-)
Honestly I just don't understand the mindset of those who complain about "bloat". What they're really complaining about is "features". They're like the Amish of computerdom.
3
u/Qiran Apr 23 '15
There was a good story about this concept of "bloat". It's an obsession with certain Linux users.
There was (still is I guess) a Linux distribution called Gentoo dedicated to customisability in the install process for users like that. And there was a wonderful site full of forum and IRC quotes to make fun of said users.
Not that I used Gentoo myself as my primary OS on my primary (only) computer back about a decade ago for at least two years or anything...
5
u/blahdom Apr 23 '15
In my experience Arch fills a lot of that niche now. I remember back in college when the cool kids of the linux club started using arch. It lasted about 3 month, full of configuring and then they all bought mac books.
It was funny to see them going from making fun of ubuntu users to owning only apple products.
Disclaimer - I have nothing against people who have the fortitude to actually run arch - but there is a subset of users who are complete hipsters about it
4
u/alcalde Apr 24 '15
I always give up on trying Arch when it drops you out to fdisk to do manual partitioning. :-) Now thanks to a new PC and a custom disk setup I know a lot more about Linux partitions, LVM, encryption, etc. but it still doesn't seem necessary. I firmly believe their "keep it simple" policy is for the satisfaction of the developers, not the users. :-(
I talked to someone online once who uses Slackware. I asked him how he handles installing software with no dependency management. He said that he just keeps a pencil and pad on his desk and keeps track of all the installed libraries with it. He called it "easy" and was genuinely surprised that anyone would see it as a problem.
1
u/blahdom Apr 24 '15
I think that if you are really into maintaining, updating, and hacking on linux systems then it is probably a lot of fun. If, however, you want to get to coding, it is really nice to just use the package manager to grab what you need and start working on your project. There is definitely a need for both types of people. BUT, the idea of maintaining a system via pencil and paper makes my stress levels peak.
5
u/alcalde Apr 24 '15
Once I attempted a "stage one tarball" installation of Gentoo (I don't think they even have that any more!) on a system with a 450MHz CPU and 256MB of memory. Fun, fun, fun. Lots of "execute this step, go to bed, wake up in the morning and see if it's finished; if not, interrupt it, boot into Windows, then resume it before bedtime". :-) I got the core OS to work but never got KDE to emerge successfully. That was one of my many early, failed attempts to move to Linux before I finally figured out that despite being told by fans that distros like this were "the best", that didn't make them the best for new users.
3
u/flamingxmonkey Apr 24 '15
Nice, lol. I once did a Stage 1 install one on an old 100 MHz Pentium laptop with 16 MB of RAM. Compiling glibc took 33 hours...
1
u/alcalde Apr 24 '15
WOW. I bow to your
masochismhardcore-ness. ;-) Today I'm happy with OpenSUSE. :-) Someday I'm trying Linux From Scratch though.2
u/flamingxmonkey Apr 24 '15
Ha, yeah, it was the late 90s or really early 2000s, so the hardware was super out of date already. I was in high school with time to kill. It had a PCMCIA Ethernet card and a relatively small hard drive by today's standards. It couldn't run X (16 MB of RAM...), but it could connect to our Windows 98 machine via Samba and play MP3s from the network. Also, I seem to recall having a console-based ICQ client and Links for browsing. On a good day it could run all three at once, and with Screen it multitasked like a champ.
3
u/HookahComputer Apr 23 '15
Honestly I just don't understand the mindset of those who complain about "bloat"
Resources are finite, and when they're gone, the swap hits the fan. Everyone complains about this, but most people don't call it "bloat"; they call it "I need a new computer".
3
1
Apr 25 '15
Same problem with me trying to get plots to show up, then I used it with Python 2.7, then the plotting works. So apparently it currently doesn't work with Python 3.4.
16
u/CleverEagle Apr 23 '15 edited Apr 24 '15
This looks great! It will be very familiar to peiple who have used R and Rstudio for data science.