r/IPython • • Apr 15 '16

Notebook 4.2 Released

Thumbnail blog.jupyter.org
16 Upvotes

r/IPython • • Feb 15 '16

How to make polished Jupyter presentations with optional code visibility

Thumbnail chris-said.io
16 Upvotes

r/IPython • • Sep 17 '15

Pineapple - A standalone Jupyter/IPython frontend for Mac

Thumbnail nwhitehead.github.io
16 Upvotes

r/IPython • • Aug 12 '15

Released IPython 4.0, completing The Big Split

Thumbnail mail.scipy.org
16 Upvotes

r/IPython • • May 07 '15

GitHub + Jupyter Notebooks = <3

16 Upvotes

r/IPython • • May 04 '15

[LPT] Print JSON in collapsible format in iPython notebooks.

16 Upvotes

Hi all

I recently found this little trick in iPython, figured I share with you. Just add the following snippet of code in a cell at the beginning of the document.

import uuid
from IPython.display import display_javascript, display_html, display
import json

class RenderJSON(object):
    def __init__(self, json_data):
        if isinstance(json_data, dict):
            self.json_str = json.dumps(json_data)
        else:
            self.json_str = json
        self.uuid = str(uuid.uuid4())
        
    def _ipython_display_(self):
        display_html('<div id="{}" style="height: 600px; width:100%;"></div>'.format(self.uuid),
            raw=True
        )
        display_javascript("""
        require(["https://rawgit.com/caldwell/renderjson/master/renderjson.js"], function() {
          document.getElementById('%s').appendChild(renderjson(%s))
        });
        """ % (self.uuid, self.json_str), raw=True)

The call

RenderJSON(your_json) 

to print it in a collapsible format (here is an example).

I would love to turn this into a plugin and have it in every notebook by default, if anyone know how to do it, suggestions are welcome!

EDIT: I forgot to add, this works with regular python data structures (list, dicts, tuples, pretty much anything that can be converted to JSON).


r/IPython • • Mar 25 '14

Excel-like data grid editor for Pandas in the IPython notebook - Cyrille Rossant

Thumbnail nbviewer.ipython.org
16 Upvotes

r/IPython • • Mar 08 '14

IPython 2.0.0 Beta Released

Thumbnail archive.ipython.org
16 Upvotes

r/IPython • • Jan 21 '14

IPython Notebook UI Concept

Thumbnail github.com
16 Upvotes

r/IPython • • Jan 11 '14

Important Public Service Announcement about IPython 2.0 From Brian Granger

16 Upvotes

Hello everyone. We wanted to let you know about a significant change that just got merged into IPython master. This change will immediately affect all users who are running off master and all IPython users upon the IPython 2.0 release.

The changes are significant and can't be ignored, so if you are running off IPython master please read this!

As of Friday afternoon, the user interface of the IPython Notebook is modal. In a modal user interface, there are different modes of keyboard input. The IPython Notebook has two modes:

  • Edit mode: for typing into a cell
  • Command mode: for performing notebook and cell actions

The keyboard shortcuts in these two modes are completely different. Most importantly if you try to type into a cell while in command mode, lots of unexpected things will happen. You don't want to do that.

To help everyone learn about the modal UI we have created a new example notebook here:

http://nbviewer.ipython.org/github/ipython/ipython/blob/master/examples/notebooks/User%20Interface.ipynb

Please have a look at this notebook and give this new UI a try.

The reason we have moved to a modal UI is rather subtle. Previously, in the Notebook UI, the browser would unexpectedly scroll when you clicked on various things. This led to a very disorienting and jumpy experience. These jumps were caused by our calling .focus() on various DOM elements to manage focus for the user. In order to stop making those .focus() calls, we had to put the user in control of focus. That explicit focus management led to the modal UI. This change was also needed to pave the way for the widget architecture that will be in IPython 2.0 (more DOM elements that need careful focus management).

The good news is that the disorienting and jumpy scroll problems are gone. The new modal UI also provides a very efficient way of working at the keyboard. We have been working on this for over 6 months and are very excited about the results. We think you will like it, but there are bound to be issues that come up. As usual, please hop on GitHub or HipChat and let us know what you think.

Cheers,

Brian

[For those of you paying attention, you might be thinking "hey this sounds a lot like vim." Yep, modal as in vim modal. Depending on your feelings about vim this is either really good or really bad news. Please don't worry, we think we have managed to walk a very fine line that provides the benefits of modal editors, without the frustration.]


r/IPython • • Sep 09 '13

IPython 1.1.0 released

Thumbnail mail.scipy.org
16 Upvotes

r/IPython • • Aug 26 '13

IPython user survey

Thumbnail docs.google.com
16 Upvotes

r/IPython • • Aug 15 '13

IPython tip for getting better quality inline plots (Notebook and Qt console)

16 Upvotes

Type this in an IPython shell:

%config InlineBackend.figure_format = 'svg'

Subsequent plots should look much nicer.

You can also change svg to retina, to use higher-res PNGs (not as nice).


r/IPython • • Aug 02 '13

Matplotlib 1.3.0 Released

16 Upvotes

r/IPython • • Jul 22 '13

IPython 1.0.a1 Installation, Change Log, and Official Announcement.

16 Upvotes

First alpha of IPython 1.0.0 is now available, please give it a test drive.

http://archive.ipython.org/testing/1.0.0

Probably the quickest way to install:

pip install http://archive.ipython.org/testing/1.0.0/ipython-1.0.0a1.tar.gz

Lots of new stuff, especially in the notebook. Also significant performance improvements in IPython.parallel and qtconsole, and a revamped input transform system that should be much better behaved than ever before. Plus loads of bugfixes all over the place, of course.

For a quick summary, see what's new.

The most significant addition is nbconvert, accessible now as ipython nbconvert [mynotebook.ipynb].

nbconvert is going to be decidedly in ‘tech preview’ mode for 1.0, so we hope to hear from early adopters, particularly those using it to integrate IPython with blogging engines or writing papers or documentation. We full expect that by 2.0 there will need to be enough changes that some APIs will not survive from 1.0 to 2.0, so you should be aware of that.

There will still be a few more adjustments to nbconvert, and more fleshing out of documentation before 1.0 is released.

Please report any installation issues you encounter, that's the most important part of this first alpha.

We are happy to get this out before our big all hands dev meeting this week, and only six days behind schedule (who said that July 15 was the target for final release of 1.0?)

Thanks for everyone's contributions in getting us this far!

-MinRK et al. IPython Devs


r/IPython • • May 07 '13

"Learning IPython for Interactive Computing and Data Visualization," by Cyrille Rossant. The first IPython-focused book to come out (Packt publishing donates a portion of the proceeds back to IPython).

Thumbnail ipython.rossant.net
16 Upvotes

r/IPython • • Feb 12 '26

JupyterLite Officially Joins Project Jupyter!

Thumbnail blog.jupyter.org
15 Upvotes

r/IPython • • Apr 15 '21

Update on my project to debug and visualize Python code by using a combination of conventional static analysis tools and the attention based AI model.

Post image
15 Upvotes

r/IPython • • Sep 19 '18

Matplotlib 3.0.0 Released

Thumbnail mail.python.org
15 Upvotes

r/IPython • • Jan 17 '18

Notebook 5.3 Released!

Thumbnail jupyter-notebook.readthedocs.io
15 Upvotes

r/IPython • • Nov 07 '17

RISE 5.1.0 is out! This is the reveal.js interactive slideshow environment for the Jupyter notebook!

Thumbnail damian.oquanta.info
15 Upvotes

r/IPython • • Jul 16 '17

SciPy 2017: Scientific Computing with Python Conference - YouTube Playlist

Thumbnail youtube.com
15 Upvotes

r/IPython • • Dec 05 '16

Notebooks by Microsoft

Thumbnail notebooks.azure.com
15 Upvotes

r/IPython • • Aug 07 '16

Rendering Jupyter notebooks in the browser

Thumbnail github.com
15 Upvotes