Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Jupyter notebooks Friends or Foes

Jupyter notebooks Friends or Foes

Jupyter notebooks have become a hugely popular tool in research, machine learning, data science, education, and many many areas. Their use and adoption have opened the door to a new paradigm: the emergence of literate programming. And with this new paradigm, the users are not only able to develop quick prototypes but also generate compelling narratives in which the code and its outputs are presented side by side. Hence why big companies such as Google and Microsoft have created their own ports of the notebooks: Google Colab and Azure Notebooks. But how well do notebooks perform in different contexts and standards? Are these suitable for all audiences and applications? This talk will dive into some of the best and lesser known features of the Jupyter notebooks and tools within the Jupyter ecosystem. At the same time, we will explore the limitations and ‘odd behaviors’ of notebooks in a number of contexts while exploring the boundaries of the notebooks and their usefulness under such circumstances.

Tania Allard

June 14, 2019
Tweet

More Decks by Tania Allard

Other Decks in Technology

Transcript

  1. Tania Allard, PhD @ixek Developer Advocate at Microsoft Jupyter notebooks:

    Friends or foes? PyCon CZ 2019 CC-BY licensed bit.ly/PyConCZ-Jupyter
  2. 5 What it really is… @ixek Ecosystem of open tools

    and infrastructure A community of people A collection of language agnostic and modular tools A means to empower people to use open tools
  3. 13 Not only machine readable Human readable Immediate code execution

    and inspection Literate programming Fast iteration Text, images and code all self contained Prototype and dissemination @ixek
  4. 14 One notebook to rule them all Turn your notebooks

    into interactive presentations Presentation @ixek Notebooks as usual (nbviewer, GitHub, GitLab) Static Binderize your notebooks Interactive Generate a book (or an e-book) out of a set of notebooks Long-format
  5. 24 @ixek They now support async IPython 7.0 now suports

    AsyncIO so you can now natively use it with the IPython REPL and the notebooks (and should also work with all the other interfaces).
  6. 26 The community and the ecosystem is so vast… I

    struggle to keep up to date @ixek
  7. 44 Packages mentioned in the slides • Binder https://mybinder.org/ •

    Repo2docker https://repo2docker.readthedocs.io/en/latest/ • Nbconvert https://github.com/jupyter/nbconvert • Nbdime https://github.com/jupyter/nbdime • voilá https://github.com/QuantStack/voila • Panel https://panel.pyviz.org/index.html • RISE https://rise.readthedocs.io/en/stable/ • Ipywidgets https://ipywidgets.readthedocs.io/en/stable/ • Azure notebooks https://notebooks.azure.com/ • BinderHub https://binderhub.readthedocs.io/ • JupyterHUb https://jupyterhub.readthedocs.io/en/stable/ • nbstripout https://github.com/kynan/nbstripout • Jupyterbook https://jupyter.org/jupyter-book/intro.html @ixek
  8. 46 Credits @ixek • Icons by Flaticon • Infographics by

    Freepik • Chris Holdgraf from Jupyter and Berkley for inspiration and craking slides https://speakerdeck.com/choldgraf/open- infrastructure-in-the-cloud-with-jupyterhub • The lovely Jupyter community