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

Jupyter (IPython): How a notebook is changing science

Jupyter (IPython): How a notebook is changing science

Python and open source as crucial pieces in the transition to
better science and engineering.

Reedition of an old talk delivered at PyCon Namibia 2019 @ NIPAM, Windhoek.

Juan Luis Cano Rodríguez

February 20, 2019
Tweet

More Decks by Juan Luis Cano Rodríguez

Other Decks in Technology

Transcript

  1. Jupyter (IPython): How a notebook is changing science Python and

    open source as crucial pieces in the transition to better science and engineering Juan Luis Cano Rodríguez — @poliastro_py Windhoek — 2019-02-20
  2. Who am I? • Aerospace engineer* • Self-taught Python programmer

    • Pythonic life: – Pybonacci blog about scientific Python in Spanish (a bit abandoned ) ) – Chair of the Python Spain Association and organizer of PyCon Spain – Python developer at Satellogic – Professor of Python for Big Data at IE and BTS business schools – Freelance projects for innovative Aerospace projects (Boeing R&T, Deep Blue Globe) – Personal project: interplanetary trajectory analysis with Python (don’t miss my talk tomorrow)
  3. Russell's teapot “If I were to suggest that between the

    Earth and Mars there is a china teapot revolving about the Sun in an elliptical orbit, nobody would be able to disprove my assertion provided I were careful to add that the teapot is too small to be revealed even by our most powerful telescopes.
  4. What is this IPython notebook? • Interactive Python interpreter in

    the browser • Open format combining executable code, text and multimedia • Inspired in Mathematica • Based on the Python programming language
  5. Teaching tool • Book: Bayesian Methods for Hackers • Lorena

    Barba courses: • AeroPython* • 12 steps to Navier Stokes • Practical Numerical Methods with Python • Harvard CS109 Data Science *Not to be confused with our AeroPython ;)
  6. Some myths → There's no support → Won't be free

    forever → Free software has bugs
  7. Some myths → There's no support Enthought, Continuum Analytics →

    Won't be free forever → Free software has bugs
  8. Some myths → There's no support Enthought, Continuum Analytics →

    Won't be free forever Free software belongs to the community → Free software has bugs
  9. Some myths → There's no support Enthought, Continuum Analytics →

    Won't be free forever Free software belongs to the community → Free software has bugs Naturally.
  10. Some recent events May 7th, 2015: • GitHub + Jupyter

    notebooks = <3 https://github.com/blog/1995-github-jupyter-notebooks-3 • Embracing Jupyter Notebooks at O'Reilly https://beta.oreilly.com/ideas/jupyter-at-oreilly June 8th, 2015: • Apple open sources Swift http://arstechnica.com/apple/2015/06/apple-open-sources-swift/ (Not to mention Microsoft new philosophy!) ...that scalated quickly!
  11. Ju·py·ter / d u p t r/ ˈdʒu pɪ ʒu

    pɪ tə ɪ tər/ ər/ noun 1. the future incarnation of IPython. Julia + Python + R
  12. Project Jupyter • Separation of the language-agnostic components – Jupyter:

    protocol, format, multi-user server – IPython: interactive Python console, Jupyter kernel • Jupyter kernels = Languages which can be used from the notebook (33 and counting) • Surprises are coming...
  13. Final remarks • Jupyter / IPython is a useful tool

    not only for coding, but for sharing and exploring • We don't have to throw away previous work in different languages: now we can integrate them • Open source in general and Jupyter in particular is gaining relevance inside the open science movement, and we must go further