Re: [CODE4LIB] Anyone working with iPython?
I use it all the time. If anyone has played with mathematica notebooks, it's the same thing, with python, and other languages apparently on the way. Eric Hellman President, Gluejar.Inc. Founder, Unglue.it https://unglue.it/ http://go-to-hellman.blogspot.com/ twitter: @gluejar On Dec 19, 2013, at 12:48 PM, Roy Tennant roytenn...@gmail.com wrote: Our Wikipedian in Residence, Max Klein brought iPython [1] to my attention recently and even in just the little exploration I've done with it so far I'm quite impressed. Although you could call it interactive Python that doesn't begin to put across the full range of capabilities, as when I first heard that I thought Great, a Python shell where you enter a command, hit the return, and it executes. Great. Just what I need. NOT. But I was SO WRONG. It certainly can and does do that, but also so much more. You can enter blocks of code that then execute. Those blocks don't even have to be Python. They can be Ruby or Perl or bash. There are built-in functions of various kinds that it (oddly) calls magic. But perhaps the killer bit is the idea of Notebooks that can capture all of your work in a way that is also editable and completely web-ready. This last part is probably difficult to understand until you experience it. Anyway, i was curious if others have been working with it and if so, what they are using it for. I can think of all kinds of things I might want to do with it, but hearing from others can inspire me further, I'm sure. Thanks, Roy [1] http://ipython.org/
Re: [CODE4LIB] Anyone working with iPython?
This reminds me a lot of Xiki — a “wiki inspired” shell. I ran across that project earlier this month but hadn’t had a chance to try it out. Has anyone done a comparison of the two? Peter On Dec 19, 2013, at 5:55 PM, Sam Kome sam_k...@cuc.claremont.edu wrote: iPython is the only console to bother with IMHO, regardless of what chore I'm doing. I've noodled with the Notebooks and they're wonderful but I am time and attention challenged and haven't progressed far. Eric Matthes uses iPython notebooks to teach programming and has set out some excellent resources: https://github.com/ehmatthes/intro_programming $.02 SK -Original Message- From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Roy Tennant Sent: Thursday, December 19, 2013 9:49 AM To: CODE4LIB@LISTSERV.ND.EDU Subject: [CODE4LIB] Anyone working with iPython? Our Wikipedian in Residence, Max Klein brought iPython [1] to my attention recently and even in just the little exploration I've done with it so far I'm quite impressed. Although you could call it interactive Python that doesn't begin to put across the full range of capabilities, as when I first heard that I thought Great, a Python shell where you enter a command, hit the return, and it executes. Great. Just what I need. NOT. But I was SO WRONG. It certainly can and does do that, but also so much more. You can enter blocks of code that then execute. Those blocks don't even have to be Python. They can be Ruby or Perl or bash. There are built-in functions of various kinds that it (oddly) calls magic. But perhaps the killer bit is the idea of Notebooks that can capture all of your work in a way that is also editable and completely web-ready. This last part is probably difficult to understand until you experience it. Anyway, i was curious if others have been working with it and if so, what they are using it for. I can think of all kinds of things I might want to do with it, but hearing from others can inspire me further, I'm sure. Thanks, Roy [1] http://ipython.org/ -- Peter Murray Assistant Director, Technology Services Development LYRASIS peter.mur...@lyrasis.org +1 678-235-2955 800.999.8558 x2955
Re: [CODE4LIB] Anyone working with iPython?
Yes, I just started playing with it, too, and would like to hear ideas. The notebook model is really cool and, I think, would at least be helpful for teaching others to code. There's also an iRuby port. Jason -- Original message -- From: Roy Tennant Date: 12/19/2013 11:54 AM To: CODE4LIB@LISTSERV.ND.EDU; Subject:[CODE4LIB] Anyone working with iPython? Our Wikipedian in Residence, Max Klein brought iPython [1] to my attention recently and even in just the little exploration I've done with it so far I'm quite impressed. Although you could call it interactive Python that doesn't begin to put across the full range of capabilities, as when I first heard that I thought Great, a Python shell where you enter a command, hit the return, and it executes. Great. Just what I need. NOT. But I was SO WRONG. It certainly can and does do that, but also so much more. You can enter blocks of code that then execute. Those blocks don't even have to be Python. They can be Ruby or Perl or bash. There are built-in functions of various kinds that it (oddly) calls magic. But perhaps the killer bit is the idea of Notebooks that can capture all of your work in a way that is also editable and completely web-ready. This last part is probably difficult to understand until you experience it. Anyway, i was curious if others have been working with it and if so, what they are using it for. I can think of all kinds of things I might want to do with it, but hearing from others can inspire me further, I'm sure. Thanks, Roy [1] http://ipython.org/
Re: [CODE4LIB] Anyone working with iPython?
Hi Roy, iPython is huge at UC Berkeley and it's creator, Fernando Perez is part of the team that will be launching the Berkeley Institute for Data Science, which incidentally will be based in Doe Library when it opens in a few months. Here's a blog post about the project: http://blog.fperez.org/2013/11/an-ambitious-experiment-in-data-science.html Also of interest, my colleague Raymond Yee uses iPython when he teaches his Open Data class in the UC Berkeley School of Information. The class actually publishes their final projects in iPython Notebook format. You can seem their work here: http://nbviewer.ipython.org/github/fperez/blog/blob/master/130507-Berkeley-iSchool-OpenData.ipynb I'm sure there are other cool examples of how it's being used in teaching and science. Seems to me like something that's going to be around for awhile, but admittedly, my perspective is from iPython ground zero! -Harrison On Thu, Dec 19, 2013 at 9:48 AM, Roy Tennant roytenn...@gmail.com wrote: Our Wikipedian in Residence, Max Klein brought iPython [1] to my attention recently and even in just the little exploration I've done with it so far I'm quite impressed. Although you could call it interactive Python that doesn't begin to put across the full range of capabilities, as when I first heard that I thought Great, a Python shell where you enter a command, hit the return, and it executes. Great. Just what I need. NOT. But I was SO WRONG. It certainly can and does do that, but also so much more. You can enter blocks of code that then execute. Those blocks don't even have to be Python. They can be Ruby or Perl or bash. There are built-in functions of various kinds that it (oddly) calls magic. But perhaps the killer bit is the idea of Notebooks that can capture all of your work in a way that is also editable and completely web-ready. This last part is probably difficult to understand until you experience it. Anyway, i was curious if others have been working with it and if so, what they are using it for. I can think of all kinds of things I might want to do with it, but hearing from others can inspire me further, I'm sure. Thanks, Roy [1] http://ipython.org/
Re: [CODE4LIB] Anyone working with iPython?
Hey Roy, I haven't been _working_ with it, but coincidentally just viewed a webinar on it with some other programmers here, and I agree it's pretty cool. The webinar (I think it's freely viewable): 'Data Science Experiments with Twitter and IPython Notebook' http://oreillynet.com/pub/e/2984 ...But perhaps the killer bit is the idea of Notebooks that can capture all of your work in a way that is also editable and completely web-ready... It was pretty amazing to install it, fire it up, see a browser auto-open, type some python in hit return -- and then open a second browser, access the same url, see the input code and its output -- and then, from the second browser be able to add run code... that the first browser could then see, too. (I agree, hard to explain.) -b --- Birkin James Diana Programmer, Digital Technologies Brown University Library birkin_di...@brown.edu On Dec 19, 2013, at 12:48 PM, Roy Tennant roytenn...@gmail.com wrote: Our Wikipedian in Residence, Max Klein brought iPython [1] to my attention recently and even in just the little exploration I've done with it so far I'm quite impressed. Although you could call it interactive Python that doesn't begin to put across the full range of capabilities, as when I first heard that I thought Great, a Python shell where you enter a command, hit the return, and it executes. Great. Just what I need. NOT. But I was SO WRONG. It certainly can and does do that, but also so much more. You can enter blocks of code that then execute. Those blocks don't even have to be Python. They can be Ruby or Perl or bash. There are built-in functions of various kinds that it (oddly) calls magic. But perhaps the killer bit is the idea of Notebooks that can capture all of your work in a way that is also editable and completely web-ready. This last part is probably difficult to understand until you experience it. Anyway, i was curious if others have been working with it and if so, what they are using it for. I can think of all kinds of things I might want to do with it, but hearing from others can inspire me further, I'm sure. Thanks, Roy [1] http://ipython.org/
Re: [CODE4LIB] Anyone working with iPython?
iPython is the only console to bother with IMHO, regardless of what chore I'm doing. I've noodled with the Notebooks and they're wonderful but I am time and attention challenged and haven't progressed far. Eric Matthes uses iPython notebooks to teach programming and has set out some excellent resources: https://github.com/ehmatthes/intro_programming $.02 SK -Original Message- From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Roy Tennant Sent: Thursday, December 19, 2013 9:49 AM To: CODE4LIB@LISTSERV.ND.EDU Subject: [CODE4LIB] Anyone working with iPython? Our Wikipedian in Residence, Max Klein brought iPython [1] to my attention recently and even in just the little exploration I've done with it so far I'm quite impressed. Although you could call it interactive Python that doesn't begin to put across the full range of capabilities, as when I first heard that I thought Great, a Python shell where you enter a command, hit the return, and it executes. Great. Just what I need. NOT. But I was SO WRONG. It certainly can and does do that, but also so much more. You can enter blocks of code that then execute. Those blocks don't even have to be Python. They can be Ruby or Perl or bash. There are built-in functions of various kinds that it (oddly) calls magic. But perhaps the killer bit is the idea of Notebooks that can capture all of your work in a way that is also editable and completely web-ready. This last part is probably difficult to understand until you experience it. Anyway, i was curious if others have been working with it and if so, what they are using it for. I can think of all kinds of things I might want to do with it, but hearing from others can inspire me further, I'm sure. Thanks, Roy [1] http://ipython.org/
Re: [CODE4LIB] Anyone working with iPython?
+1 for ipython ‹ it was an easy transition from my MATLAB shell programming (for scientific problems) to ipython and the various and sundry wonderful part of python overall for scientific programming. In fact, I became so used to the ipython console, when I go to the regular python shell now I miss all the goodies (amazing how used to tab completion you get used toŠ :D ) Cheers Christian On 12/19/13, 2:55 PM, Sam Kome sam_k...@cuc.claremont.edu wrote: iPython is the only console to bother with IMHO, regardless of what chore I'm doing. I've noodled with the Notebooks and they're wonderful but I am time and attention challenged and haven't progressed far. Eric Matthes uses iPython notebooks to teach programming and has set out some excellent resources: https://github.com/ehmatthes/intro_programming $.02 SK -Original Message- From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Roy Tennant Sent: Thursday, December 19, 2013 9:49 AM To: CODE4LIB@LISTSERV.ND.EDU Subject: [CODE4LIB] Anyone working with iPython? Our Wikipedian in Residence, Max Klein brought iPython [1] to my attention recently and even in just the little exploration I've done with it so far I'm quite impressed. Although you could call it interactive Python that doesn't begin to put across the full range of capabilities, as when I first heard that I thought Great, a Python shell where you enter a command, hit the return, and it executes. Great. Just what I need. NOT. But I was SO WRONG. It certainly can and does do that, but also so much more. You can enter blocks of code that then execute. Those blocks don't even have to be Python. They can be Ruby or Perl or bash. There are built-in functions of various kinds that it (oddly) calls magic. But perhaps the killer bit is the idea of Notebooks that can capture all of your work in a way that is also editable and completely web-ready. This last part is probably difficult to understand until you experience it. Anyway, i was curious if others have been working with it and if so, what they are using it for. I can think of all kinds of things I might want to do with it, but hearing from others can inspire me further, I'm sure. Thanks, Roy [1] http://ipython.org/
Re: [CODE4LIB] Anyone working with iPython?
The slickest thing about iPython notebooks is the easy of publishing them on github (or elsewhere), then sharing the results with the notebook viewer here: http://nbviewer.ipython.org/ This community could easily use this as an alternative (or compliment) to gist for sharing small chunks of code. This has the added benefit of sharing the _output_ of said code alongside the source. Also, that visual environment is a must when learning highly graph chart dependent things like matplotlib even scikit learn. The iPython notebook also simplifies shelling: just prefix your line with a bang (!) and system command lines are right there. I just finished a Practical Data Science course for grad school last night, and we used iPython heavily throughout the course, both as the platform for the professors lecture notes, and for doing our homework assignments. -Corey On Thu, Dec 19, 2013 at 6:03 PM, Sarason,Christian saras...@oclc.orgwrote: +1 for ipython ‹ it was an easy transition from my MATLAB shell programming (for scientific problems) to ipython and the various and sundry wonderful part of python overall for scientific programming. In fact, I became so used to the ipython console, when I go to the regular python shell now I miss all the goodies (amazing how used to tab completion you get used toŠ :D ) Cheers Christian On 12/19/13, 2:55 PM, Sam Kome sam_k...@cuc.claremont.edu wrote: iPython is the only console to bother with IMHO, regardless of what chore I'm doing. I've noodled with the Notebooks and they're wonderful but I am time and attention challenged and haven't progressed far. Eric Matthes uses iPython notebooks to teach programming and has set out some excellent resources: https://github.com/ehmatthes/intro_programming $.02 SK -Original Message- From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Roy Tennant Sent: Thursday, December 19, 2013 9:49 AM To: CODE4LIB@LISTSERV.ND.EDU Subject: [CODE4LIB] Anyone working with iPython? Our Wikipedian in Residence, Max Klein brought iPython [1] to my attention recently and even in just the little exploration I've done with it so far I'm quite impressed. Although you could call it interactive Python that doesn't begin to put across the full range of capabilities, as when I first heard that I thought Great, a Python shell where you enter a command, hit the return, and it executes. Great. Just what I need. NOT. But I was SO WRONG. It certainly can and does do that, but also so much more. You can enter blocks of code that then execute. Those blocks don't even have to be Python. They can be Ruby or Perl or bash. There are built-in functions of various kinds that it (oddly) calls magic. But perhaps the killer bit is the idea of Notebooks that can capture all of your work in a way that is also editable and completely web-ready. This last part is probably difficult to understand until you experience it. Anyway, i was curious if others have been working with it and if so, what they are using it for. I can think of all kinds of things I might want to do with it, but hearing from others can inspire me further, I'm sure. Thanks, Roy [1] http://ipython.org/ -- Corey A Harper Metadata Services Librarian New York University Libraries 20 Cooper Square, 3rd Floor New York, NY 10003-7112 212.998.2479 corey.har...@nyu.edu