SlideShare uma empresa Scribd logo
1 de 38
Baixar para ler offline
IPython Open Source Academia Wrapup
IPython
A modern vision of interactive computing
Fernando Pérez
http://fperez.org, @fperez_org
Fernando.Perez@berkeley.edu
Henry H. Wheeler Jr. Brain Imaging Center, UC Berkeley
PyData 2013, Silicon Valley
March 20, 2013
IPython Open Source Academia Wrapup
Outline
1 IPython: Interactive Python
2 The Life of an Open Source Project
3 Academia vs Open Source
4 Wrapup
FP (UC Berkeley) IPython 3/20/13 2 / 34
In the beginning, IBM said...
Let there be FORTRAN
In the beginning, IBM said...
Let there be FORTRAN
Beyond (Floating Point) Number Crunching
Hardware
floating point
Arbitrary precision
integers
Rationals
Interval arithmetic
Symbolic manipulation
FORTRAN
Extended precision
floating point
Text processing
Databases
Graphical user
interfaces
Web interfaces
Hardware
control
Multi-language
integration
Data formats: HDF5, XML, ...
The purpose of computing is insight, not numbers.
Richard Hamming, 1962
IPython Open Source Academia Wrapup
The computer as microscope
Exploratory: Problem’s definition evolves as we understand it.
No ‘requirements’ to build an application against.
Mathematica, Maple, Matlab, IDL, etc.
All have an interactive environment.
Applications Languages
FP (UC Berkeley) IPython 3/20/13 6 / 34
IPython: part of a Rich Ecosystem
IPython
NetworkX
IPython Open Source Academia Wrapup
The Lifecycle of a Scientific Idea (schematically)
1 Individual exploratory work
2 Collaborative development
3 Parallel production runs (HPC, cloud, ...)
4 Publication (with reproducible results!)
5 Education
6 Goto 1.
The Problem with most tools
Barriers and discontinuities in workflow in between all the steps
FP (UC Berkeley) IPython 3/20/13 8 / 34
IPython Open Source Academia Wrapup
The Lifecycle of a Scientific Idea (schematically)
1 Individual exploratory work
2 Collaborative development
3 Parallel production runs (HPC, cloud, ...)
4 Publication (with reproducible results!)
5 Education
6 Goto 1.
The Problem with most tools
Barriers and discontinuities in workflow in between all the steps
FP (UC Berkeley) IPython 3/20/13 8 / 34
IPython’s goal:
Fluid transitions in all these steps
Demo
IPython Open Source Academia Wrapup
Pillar #1: An architecture for interactive computing
FP (UC Berkeley) IPython 3/20/13 11 / 34
IPython Open Source Academia Wrapup
Pillar #2: the Notebook Format
JSON but version control-friendly
Easy for machine processing, fixable by hand if need be.
Lots of hooks for metadata
Not Python-specific (Ruby, JS notebooks exist, R, Julia planned)
Produce Markdown, reST, LATEX, HTML, etc...
An open format for sharing, publishing and
archiving executable computational work
FP (UC Berkeley) IPython 3/20/13 12 / 34
IPython Open Source Academia Wrapup
Outline
1 IPython: Interactive Python
2 The Life of an Open Source Project
3 Academia vs Open Source
4 Wrapup
FP (UC Berkeley) IPython 3/20/13 13 / 34
Documented protocols and formats:
a growing ecosystem around IPython
An Emacs Notebook Client!
Takafumi Arakaki
http://tkf.github.com/emacs-ipython-notebook
Microsoft Visual Studio 2010 integrated console
Dino Viehland and Shahrokh Mortazavi (Microsoft)
http://pytools.codeplex.com
A vim client to control an IPython kernel/console
Paul Ivanov (Berkeley)
https://github.com/ivanov/vim-ipython
Notebooks on Windows Azure Cloud
Shahrokh Mortazavi (Microsoft), B.G., F.P.
http://bit.ly/JQeojD
Star Cluster: IPython parallel+Notebook on Amazon EC2
Justin Riley (MIT)
http://web.mit.edu/star/cluster
NBViewer: easy notebook sharing
Matthias Bussonnier
http://nbviewer.ipython.org
Other projects using IPython
Scientific
EPD: Enthought Python Distribution.
Anaconda: Continuum Python Distribution.
Sage: open source mathematics.
PyRAF: Space Telescope Science Institute
CASA: Nat. Radio Astronomy Observatory
Ganga: CERN
PyMAD: neutron spectrom., Laue Langevin
Sardana: European Synchrotron Radiation
ASCEND: eng. modeling (Carnegie Mellon).
JModelica: dynamical systems.
DASH: Denver Aerosol Sources and Health.
Trilinos: Sandia National Lab.
DoD: baseline configuration.
NiPype: computational pipelines, MIT.
PyIMSL Studio, by Visual Numerics.
...
Web/Other
Visual Studio 2010: MS.
Django.
Turbo Gears.
Pylons web framework
Zope and Plone CMS.
Axon Shell, BBC
Kamaelia.
Schevo database.
Pitz: distributed
task/bug tracking.
iVR (interactive Virtual
Reality).
Movable Python
(portable Python
environment).
...
How did we get here?
A brief history of IPython
October 2001: “just a little afternoon hack”
My own $PYTHONSTARTUP:
ipython-0.0.1.py: 259 lines.
In [N]: prompts and _N results cache.
IPP (Interactive Python Prompt) by Janko Hauser (Oceanography)
LazyPython by Nathan Gray (CS Caltech)
2002: Ignore John Hunter’s Gnuplot support patches
... let there be matplotlib
(actually finish my PhD!)
2005: Brian Granger, Min Ragan-Kelley
First parallel tools, Twisted-based
2005-2008: Ville Vainio, Gaël Varoquaux, Laurent Dufréchou
Core maintenance, Wx integration.
Summer 2009: NIH-funded cleanup by Brian.
March 2010: prototype networked shell using ØMQ
2-day sprint with Brian
Enthought funds Qt console. Min ports parallel code to ØMQ
Core architecture ready, foundation for Notebook
Fall 2010
James Gao at Berkeley builds (5th!) Notebook Prototype.
Summer 2011
Brian rebuids James’ prototype into today’s Notebook.
An important plot
http://www.ohloh.net/p/ipython
(Incomplete) Cast of Characters
Brian Granger - Physics, Cal State San Luis Obispo
Min Ragan-Kelley - Nuclear Engineering, UC Berkeley
Matthias Bussonnier - Physics, Institut Curie, Paris
Brad Froehle - Mathematics, UC Berkeley
Paul Ivanov - Neuroscience, UC Berkeley.
Robert Kern - Enthought
Thomas Kluyver - Biology, U. Sheffield
Jonathan March- Enthought
Evan Patterson - Physics, Caltech/Enthought
Jörgen Stenarson - Elect. Engineering, Sweden.
Stefan van der Walt - UC Berkeley
John Hunter - TradeLink Securities, Chicago.
Prabhu Ramachandran - Aerospace Engineering, IIT Bombay.
Satra Ghosh- MIT Neuroscience
Gaël Varoquaux - Neurospin (Orsay, France)
Ville Vainio - CS, Tampere University of Technology, Finland
Barry Wark - Neuroscience, U. Washington.
Ondrej Certik - Physics, U Nevada Reno
Darren Dale - Cornell
Justin Riley - MIT
Mark Voorhies - UC San Francisco
Nicholas Rougier - INRIA Nancy Grand Est
Thomas Spura - Fedora project
Many more! (~220 commit authors)
IPython Open Source Academia Wrapup
Outline
1 IPython: Interactive Python
2 The Life of an Open Source Project
3 Academia vs Open Source
4 Wrapup
FP (UC Berkeley) IPython 3/20/13 26 / 34
Support at the edges of academic funding
Enthought, Austin, TX: Lots!
Microsoft: WinHPC support, Visual Studio integration, Azure
(thanks to Shahrokh Mortazavi).
DoD/DRC Inc: funding through Sept. 2012 (thanks to Jose
Unpingco and Chris Keees).
NIH: via NiPy grant
NSF: via Sage compmath grant
Google: summer of code 2005, 2010.
Tech-X Corp., Boulder, CO: Parallel/notebook (previous versions)
Recent stable funding (2 years, 7 people, J. Taylor):
Open Source:
skills, tools and practices we need!
A culture where things get done.
Wildly collaborative
Reproducible by necessity
Version control, testing, documentation, public peer review, etc.
Reward Structure in academia:
we punish all of the above
Departmental boundaries: interdisciplinary work is a great buzzword,
not such a great career path.
Computational heritage is built on code
not on citations
Continuous evolution vs publication milestones
Authorship in collaborative works vs the first-author paper.
Scholarship and intellectual effort embedded in the code.
NumFOCUS: Open Code, Better Science
Promote the health of our open source scientific computing
ecosystem
Support the development of multiple projects.
Community-created and driven.
A neutral ground for industry, academia and government to support
scientific open source.
501(c)3 - donations are tax-exempt in the USA
http://numfocus.org
IPython Open Source Academia Wrapup
Outline
1 IPython: Interactive Python
2 The Life of an Open Source Project
3 Academia vs Open Source
4 Wrapup
FP (UC Berkeley) IPython 3/20/13 31 / 34
The future of IPython: a 2-year roadmap
Spring/summer 2013: IPython 1.0
Notebook document management (nbconvert)
JavaScript internals cleanup
Fall 2013
Interactive JavaScript API
With callbacks to remote kernels.
2014
Multiuser server
Simple to deploy
Trusted (shell OK) Unix users in a lab, group, class, etc.
https://github.com/ipython/ipython/wiki/Roadmap:-IPython
In closing: our vision of scientific computing
Build on the right abstractions
The kernel: unify interactive and parallel computing
→ you only have one brain!
A single protocol: many kernels, many clients.
Communications and logging
the protocol is the notebook file format.
Insight and communication (Hamming)
“Literate computing” vs “literate programming”.
Build a community and an ecosystem
“How to Scale a Code in the Human Dimension”, M. Turk,
http://arxiv.org/abs/1301.7064.
In closing: our vision of scientific computing
Build on the right abstractions
The kernel: unify interactive and parallel computing
→ you only have one brain!
A single protocol: many kernels, many clients.
Communications and logging
the protocol is the notebook file format.
Insight and communication (Hamming)
“Literate computing” vs “literate programming”.
Build a community and an ecosystem
“How to Scale a Code in the Human Dimension”, M. Turk,
http://arxiv.org/abs/1301.7064.
In closing: our vision of scientific computing
Build on the right abstractions
The kernel: unify interactive and parallel computing
→ you only have one brain!
A single protocol: many kernels, many clients.
Communications and logging
the protocol is the notebook file format.
Insight and communication (Hamming)
“Literate computing” vs “literate programming”.
Build a community and an ecosystem
“How to Scale a Code in the Human Dimension”, M. Turk,
http://arxiv.org/abs/1301.7064.
John D. Hunter, 1968-2012: http://matplotlib.org
Memorial fund: http://numfocus.org/johnhunter

Mais conteúdo relacionado

Mais procurados

Django Python(2)
Django Python(2)Django Python(2)
Django Python(2)
tomcoh
 

Mais procurados (20)

Creating Art with a Raspberry Pi - Stephanie Nemeth - Codemotion Amsterdam 2017
Creating Art with a Raspberry Pi - Stephanie Nemeth - Codemotion Amsterdam 2017Creating Art with a Raspberry Pi - Stephanie Nemeth - Codemotion Amsterdam 2017
Creating Art with a Raspberry Pi - Stephanie Nemeth - Codemotion Amsterdam 2017
 
Parallel Programming in Python: Speeding up your analysis
Parallel Programming in Python: Speeding up your analysisParallel Programming in Python: Speeding up your analysis
Parallel Programming in Python: Speeding up your analysis
 
Python as the Zen of Data Science
Python as the Zen of Data SciencePython as the Zen of Data Science
Python as the Zen of Data Science
 
Clean code in Jupyter notebooks
Clean code in Jupyter notebooksClean code in Jupyter notebooks
Clean code in Jupyter notebooks
 
A quick overview of why to use and how to set up iPython notebooks for research
A quick overview of why to use and how to set up iPython notebooks for researchA quick overview of why to use and how to set up iPython notebooks for research
A quick overview of why to use and how to set up iPython notebooks for research
 
Python for Science and Engineering: a presentation to A*STAR and the Singapor...
Python for Science and Engineering: a presentation to A*STAR and the Singapor...Python for Science and Engineering: a presentation to A*STAR and the Singapor...
Python for Science and Engineering: a presentation to A*STAR and the Singapor...
 
Puppet DSL: back to the basics
Puppet DSL: back to the basicsPuppet DSL: back to the basics
Puppet DSL: back to the basics
 
Python programming | Fundamentals of Python programming
Python programming | Fundamentals of Python programming Python programming | Fundamentals of Python programming
Python programming | Fundamentals of Python programming
 
Final presentation on python
Final presentation on pythonFinal presentation on python
Final presentation on python
 
Scale up and Scale Out Anaconda and PyData
Scale up and Scale Out Anaconda and PyDataScale up and Scale Out Anaconda and PyData
Scale up and Scale Out Anaconda and PyData
 
Jonathan Coveney: Why Pig?
Jonathan Coveney: Why Pig?Jonathan Coveney: Why Pig?
Jonathan Coveney: Why Pig?
 
Python Introduction
Python IntroductionPython Introduction
Python Introduction
 
An introduction to Jupyter notebooks and the Noteable service
An introduction to Jupyter notebooks and the Noteable serviceAn introduction to Jupyter notebooks and the Noteable service
An introduction to Jupyter notebooks and the Noteable service
 
Django Python(2)
Django Python(2)Django Python(2)
Django Python(2)
 
Scientist meets web dev: how Python became the language of data
Scientist meets web dev: how Python became the language of dataScientist meets web dev: how Python became the language of data
Scientist meets web dev: how Python became the language of data
 
Welcome to Python
Welcome to PythonWelcome to Python
Welcome to Python
 
Jupyter notebooks on steroids
Jupyter notebooks on steroidsJupyter notebooks on steroids
Jupyter notebooks on steroids
 
Intro to Python Workshop San Diego, CA (January 19, 2013)
Intro to Python Workshop San Diego, CA (January 19, 2013)Intro to Python Workshop San Diego, CA (January 19, 2013)
Intro to Python Workshop San Diego, CA (January 19, 2013)
 
London level39
London level39London level39
London level39
 
Why Python Should Be Your First Programming Language
Why Python Should Be Your First Programming LanguageWhy Python Should Be Your First Programming Language
Why Python Should Be Your First Programming Language
 

Semelhante a IPython: A Modern Vision of Interactive Computing (PyData SV 2013)

1203 ipython pycon
1203 ipython pycon1203 ipython pycon
1203 ipython pycon
kkumar9034
 
Reproducible Open Science with EGI Notebooks, Binder and Zenodo
Reproducible Open Science with EGI Notebooks, Binder and ZenodoReproducible Open Science with EGI Notebooks, Binder and Zenodo
Reproducible Open Science with EGI Notebooks, Binder and Zenodo
EGI Federation
 
Python @ PiTech - March 2009
Python @ PiTech - March 2009Python @ PiTech - March 2009
Python @ PiTech - March 2009
tudorprodan
 
Torch: a scientific computing framework for machine-learning practitioners
Torch: a scientific computing framework for machine-learning practitionersTorch: a scientific computing framework for machine-learning practitioners
Torch: a scientific computing framework for machine-learning practitioners
Hoffman Lab
 
The Joy of SciPy, Part I
The Joy of SciPy, Part IThe Joy of SciPy, Part I
The Joy of SciPy, Part I
Dinu Gherman
 
Wageningen phenotype meeting
Wageningen phenotype meetingWageningen phenotype meeting
Wageningen phenotype meeting
thehyve
 

Semelhante a IPython: A Modern Vision of Interactive Computing (PyData SV 2013) (20)

1203 ipython pycon
1203 ipython pycon1203 ipython pycon
1203 ipython pycon
 
Python 101 For The Net Developer
Python 101 For The Net DeveloperPython 101 For The Net Developer
Python 101 For The Net Developer
 
Behold the Power of Python
Behold the Power of PythonBehold the Power of Python
Behold the Power of Python
 
Computable content: Notebooks, containers, and data-centric organizational le...
Computable content: Notebooks, containers, and data-centric organizational le...Computable content: Notebooks, containers, and data-centric organizational le...
Computable content: Notebooks, containers, and data-centric organizational le...
 
Open Source .NET
Open Source .NETOpen Source .NET
Open Source .NET
 
Python 101 for the .NET Developer
Python 101 for the .NET DeveloperPython 101 for the .NET Developer
Python 101 for the .NET Developer
 
Reproducible Open Science with EGI Notebooks, Binder and Zenodo
Reproducible Open Science with EGI Notebooks, Binder and ZenodoReproducible Open Science with EGI Notebooks, Binder and Zenodo
Reproducible Open Science with EGI Notebooks, Binder and Zenodo
 
Python @ PiTech - March 2009
Python @ PiTech - March 2009Python @ PiTech - March 2009
Python @ PiTech - March 2009
 
Data science apps: beyond notebooks
Data science apps: beyond notebooksData science apps: beyond notebooks
Data science apps: beyond notebooks
 
Data Science Apps: Beyond Notebooks - Natalino Busa - Codemotion Amsterdam 2017
Data Science Apps: Beyond Notebooks - Natalino Busa - Codemotion Amsterdam 2017Data Science Apps: Beyond Notebooks - Natalino Busa - Codemotion Amsterdam 2017
Data Science Apps: Beyond Notebooks - Natalino Busa - Codemotion Amsterdam 2017
 
A Whirlwind Tour Of Python
A Whirlwind Tour Of PythonA Whirlwind Tour Of Python
A Whirlwind Tour Of Python
 
Python: the secret weapon of Fedora - FLISoL 2015
Python: the secret weapon of Fedora - FLISoL 2015Python: the secret weapon of Fedora - FLISoL 2015
Python: the secret weapon of Fedora - FLISoL 2015
 
Journal Seminar: Is Singularity-based Container Technology Ready for Running ...
Journal Seminar: Is Singularity-based Container Technology Ready for Running ...Journal Seminar: Is Singularity-based Container Technology Ready for Running ...
Journal Seminar: Is Singularity-based Container Technology Ready for Running ...
 
Getting Started with Python
Getting Started with PythonGetting Started with Python
Getting Started with Python
 
Micropython for the iot
Micropython for the iotMicropython for the iot
Micropython for the iot
 
Pycon 2011
Pycon 2011Pycon 2011
Pycon 2011
 
Torch: a scientific computing framework for machine-learning practitioners
Torch: a scientific computing framework for machine-learning practitionersTorch: a scientific computing framework for machine-learning practitioners
Torch: a scientific computing framework for machine-learning practitioners
 
Doing the Impossible
Doing the ImpossibleDoing the Impossible
Doing the Impossible
 
The Joy of SciPy, Part I
The Joy of SciPy, Part IThe Joy of SciPy, Part I
The Joy of SciPy, Part I
 
Wageningen phenotype meeting
Wageningen phenotype meetingWageningen phenotype meeting
Wageningen phenotype meeting
 

Mais de PyData

Mais de PyData (20)

Michal Mucha: Build and Deploy an End-to-end Streaming NLP Insight System | P...
Michal Mucha: Build and Deploy an End-to-end Streaming NLP Insight System | P...Michal Mucha: Build and Deploy an End-to-end Streaming NLP Insight System | P...
Michal Mucha: Build and Deploy an End-to-end Streaming NLP Insight System | P...
 
Unit testing data with marbles - Jane Stewart Adams, Leif Walsh
Unit testing data with marbles - Jane Stewart Adams, Leif WalshUnit testing data with marbles - Jane Stewart Adams, Leif Walsh
Unit testing data with marbles - Jane Stewart Adams, Leif Walsh
 
The TileDB Array Data Storage Manager - Stavros Papadopoulos, Jake Bolewski
The TileDB Array Data Storage Manager - Stavros Papadopoulos, Jake BolewskiThe TileDB Array Data Storage Manager - Stavros Papadopoulos, Jake Bolewski
The TileDB Array Data Storage Manager - Stavros Papadopoulos, Jake Bolewski
 
Using Embeddings to Understand the Variance and Evolution of Data Science... ...
Using Embeddings to Understand the Variance and Evolution of Data Science... ...Using Embeddings to Understand the Variance and Evolution of Data Science... ...
Using Embeddings to Understand the Variance and Evolution of Data Science... ...
 
Deploying Data Science for Distribution of The New York Times - Anne Bauer
Deploying Data Science for Distribution of The New York Times - Anne BauerDeploying Data Science for Distribution of The New York Times - Anne Bauer
Deploying Data Science for Distribution of The New York Times - Anne Bauer
 
Graph Analytics - From the Whiteboard to Your Toolbox - Sam Lerma
Graph Analytics - From the Whiteboard to Your Toolbox - Sam LermaGraph Analytics - From the Whiteboard to Your Toolbox - Sam Lerma
Graph Analytics - From the Whiteboard to Your Toolbox - Sam Lerma
 
Do Your Homework! Writing tests for Data Science and Stochastic Code - David ...
Do Your Homework! Writing tests for Data Science and Stochastic Code - David ...Do Your Homework! Writing tests for Data Science and Stochastic Code - David ...
Do Your Homework! Writing tests for Data Science and Stochastic Code - David ...
 
RESTful Machine Learning with Flask and TensorFlow Serving - Carlo Mazzaferro
RESTful Machine Learning with Flask and TensorFlow Serving - Carlo MazzaferroRESTful Machine Learning with Flask and TensorFlow Serving - Carlo Mazzaferro
RESTful Machine Learning with Flask and TensorFlow Serving - Carlo Mazzaferro
 
Mining dockless bikeshare and dockless scootershare trip data - Stefanie Brod...
Mining dockless bikeshare and dockless scootershare trip data - Stefanie Brod...Mining dockless bikeshare and dockless scootershare trip data - Stefanie Brod...
Mining dockless bikeshare and dockless scootershare trip data - Stefanie Brod...
 
Avoiding Bad Database Surprises: Simulation and Scalability - Steven Lott
Avoiding Bad Database Surprises: Simulation and Scalability - Steven LottAvoiding Bad Database Surprises: Simulation and Scalability - Steven Lott
Avoiding Bad Database Surprises: Simulation and Scalability - Steven Lott
 
Words in Space - Rebecca Bilbro
Words in Space - Rebecca BilbroWords in Space - Rebecca Bilbro
Words in Space - Rebecca Bilbro
 
End-to-End Machine learning pipelines for Python driven organizations - Nick ...
End-to-End Machine learning pipelines for Python driven organizations - Nick ...End-to-End Machine learning pipelines for Python driven organizations - Nick ...
End-to-End Machine learning pipelines for Python driven organizations - Nick ...
 
Pydata beautiful soup - Monica Puerto
Pydata beautiful soup - Monica PuertoPydata beautiful soup - Monica Puerto
Pydata beautiful soup - Monica Puerto
 
1D Convolutional Neural Networks for Time Series Modeling - Nathan Janos, Jef...
1D Convolutional Neural Networks for Time Series Modeling - Nathan Janos, Jef...1D Convolutional Neural Networks for Time Series Modeling - Nathan Janos, Jef...
1D Convolutional Neural Networks for Time Series Modeling - Nathan Janos, Jef...
 
Extending Pandas with Custom Types - Will Ayd
Extending Pandas with Custom Types - Will AydExtending Pandas with Custom Types - Will Ayd
Extending Pandas with Custom Types - Will Ayd
 
Measuring Model Fairness - Stephen Hoover
Measuring Model Fairness - Stephen HooverMeasuring Model Fairness - Stephen Hoover
Measuring Model Fairness - Stephen Hoover
 
What's the Science in Data Science? - Skipper Seabold
What's the Science in Data Science? - Skipper SeaboldWhat's the Science in Data Science? - Skipper Seabold
What's the Science in Data Science? - Skipper Seabold
 
Applying Statistical Modeling and Machine Learning to Perform Time-Series For...
Applying Statistical Modeling and Machine Learning to Perform Time-Series For...Applying Statistical Modeling and Machine Learning to Perform Time-Series For...
Applying Statistical Modeling and Machine Learning to Perform Time-Series For...
 
Solving very simple substitution ciphers algorithmically - Stephen Enright-Ward
Solving very simple substitution ciphers algorithmically - Stephen Enright-WardSolving very simple substitution ciphers algorithmically - Stephen Enright-Ward
Solving very simple substitution ciphers algorithmically - Stephen Enright-Ward
 
The Face of Nanomaterials: Insightful Classification Using Deep Learning - An...
The Face of Nanomaterials: Insightful Classification Using Deep Learning - An...The Face of Nanomaterials: Insightful Classification Using Deep Learning - An...
The Face of Nanomaterials: Insightful Classification Using Deep Learning - An...
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

IPython: A Modern Vision of Interactive Computing (PyData SV 2013)

  • 1. IPython Open Source Academia Wrapup IPython A modern vision of interactive computing Fernando Pérez http://fperez.org, @fperez_org Fernando.Perez@berkeley.edu Henry H. Wheeler Jr. Brain Imaging Center, UC Berkeley PyData 2013, Silicon Valley March 20, 2013
  • 2. IPython Open Source Academia Wrapup Outline 1 IPython: Interactive Python 2 The Life of an Open Source Project 3 Academia vs Open Source 4 Wrapup FP (UC Berkeley) IPython 3/20/13 2 / 34
  • 3. In the beginning, IBM said... Let there be FORTRAN
  • 4. In the beginning, IBM said... Let there be FORTRAN
  • 5. Beyond (Floating Point) Number Crunching Hardware floating point Arbitrary precision integers Rationals Interval arithmetic Symbolic manipulation FORTRAN Extended precision floating point Text processing Databases Graphical user interfaces Web interfaces Hardware control Multi-language integration Data formats: HDF5, XML, ...
  • 6. The purpose of computing is insight, not numbers. Richard Hamming, 1962
  • 7. IPython Open Source Academia Wrapup The computer as microscope Exploratory: Problem’s definition evolves as we understand it. No ‘requirements’ to build an application against. Mathematica, Maple, Matlab, IDL, etc. All have an interactive environment. Applications Languages FP (UC Berkeley) IPython 3/20/13 6 / 34
  • 8. IPython: part of a Rich Ecosystem IPython NetworkX
  • 9. IPython Open Source Academia Wrapup The Lifecycle of a Scientific Idea (schematically) 1 Individual exploratory work 2 Collaborative development 3 Parallel production runs (HPC, cloud, ...) 4 Publication (with reproducible results!) 5 Education 6 Goto 1. The Problem with most tools Barriers and discontinuities in workflow in between all the steps FP (UC Berkeley) IPython 3/20/13 8 / 34
  • 10. IPython Open Source Academia Wrapup The Lifecycle of a Scientific Idea (schematically) 1 Individual exploratory work 2 Collaborative development 3 Parallel production runs (HPC, cloud, ...) 4 Publication (with reproducible results!) 5 Education 6 Goto 1. The Problem with most tools Barriers and discontinuities in workflow in between all the steps FP (UC Berkeley) IPython 3/20/13 8 / 34
  • 12. Demo
  • 13. IPython Open Source Academia Wrapup Pillar #1: An architecture for interactive computing FP (UC Berkeley) IPython 3/20/13 11 / 34
  • 14. IPython Open Source Academia Wrapup Pillar #2: the Notebook Format JSON but version control-friendly Easy for machine processing, fixable by hand if need be. Lots of hooks for metadata Not Python-specific (Ruby, JS notebooks exist, R, Julia planned) Produce Markdown, reST, LATEX, HTML, etc... An open format for sharing, publishing and archiving executable computational work FP (UC Berkeley) IPython 3/20/13 12 / 34
  • 15. IPython Open Source Academia Wrapup Outline 1 IPython: Interactive Python 2 The Life of an Open Source Project 3 Academia vs Open Source 4 Wrapup FP (UC Berkeley) IPython 3/20/13 13 / 34
  • 16. Documented protocols and formats: a growing ecosystem around IPython
  • 17. An Emacs Notebook Client! Takafumi Arakaki http://tkf.github.com/emacs-ipython-notebook
  • 18. Microsoft Visual Studio 2010 integrated console Dino Viehland and Shahrokh Mortazavi (Microsoft) http://pytools.codeplex.com
  • 19. A vim client to control an IPython kernel/console Paul Ivanov (Berkeley) https://github.com/ivanov/vim-ipython
  • 20. Notebooks on Windows Azure Cloud Shahrokh Mortazavi (Microsoft), B.G., F.P. http://bit.ly/JQeojD
  • 21. Star Cluster: IPython parallel+Notebook on Amazon EC2 Justin Riley (MIT) http://web.mit.edu/star/cluster
  • 22. NBViewer: easy notebook sharing Matthias Bussonnier http://nbviewer.ipython.org
  • 23. Other projects using IPython Scientific EPD: Enthought Python Distribution. Anaconda: Continuum Python Distribution. Sage: open source mathematics. PyRAF: Space Telescope Science Institute CASA: Nat. Radio Astronomy Observatory Ganga: CERN PyMAD: neutron spectrom., Laue Langevin Sardana: European Synchrotron Radiation ASCEND: eng. modeling (Carnegie Mellon). JModelica: dynamical systems. DASH: Denver Aerosol Sources and Health. Trilinos: Sandia National Lab. DoD: baseline configuration. NiPype: computational pipelines, MIT. PyIMSL Studio, by Visual Numerics. ... Web/Other Visual Studio 2010: MS. Django. Turbo Gears. Pylons web framework Zope and Plone CMS. Axon Shell, BBC Kamaelia. Schevo database. Pitz: distributed task/bug tracking. iVR (interactive Virtual Reality). Movable Python (portable Python environment). ...
  • 24. How did we get here? A brief history of IPython October 2001: “just a little afternoon hack” My own $PYTHONSTARTUP: ipython-0.0.1.py: 259 lines. In [N]: prompts and _N results cache. IPP (Interactive Python Prompt) by Janko Hauser (Oceanography) LazyPython by Nathan Gray (CS Caltech) 2002: Ignore John Hunter’s Gnuplot support patches ... let there be matplotlib (actually finish my PhD!) 2005: Brian Granger, Min Ragan-Kelley First parallel tools, Twisted-based 2005-2008: Ville Vainio, Gaël Varoquaux, Laurent Dufréchou Core maintenance, Wx integration.
  • 25. Summer 2009: NIH-funded cleanup by Brian. March 2010: prototype networked shell using ØMQ 2-day sprint with Brian Enthought funds Qt console. Min ports parallel code to ØMQ Core architecture ready, foundation for Notebook Fall 2010 James Gao at Berkeley builds (5th!) Notebook Prototype. Summer 2011 Brian rebuids James’ prototype into today’s Notebook.
  • 27. (Incomplete) Cast of Characters Brian Granger - Physics, Cal State San Luis Obispo Min Ragan-Kelley - Nuclear Engineering, UC Berkeley Matthias Bussonnier - Physics, Institut Curie, Paris Brad Froehle - Mathematics, UC Berkeley Paul Ivanov - Neuroscience, UC Berkeley. Robert Kern - Enthought Thomas Kluyver - Biology, U. Sheffield Jonathan March- Enthought Evan Patterson - Physics, Caltech/Enthought Jörgen Stenarson - Elect. Engineering, Sweden. Stefan van der Walt - UC Berkeley John Hunter - TradeLink Securities, Chicago. Prabhu Ramachandran - Aerospace Engineering, IIT Bombay. Satra Ghosh- MIT Neuroscience Gaël Varoquaux - Neurospin (Orsay, France) Ville Vainio - CS, Tampere University of Technology, Finland Barry Wark - Neuroscience, U. Washington. Ondrej Certik - Physics, U Nevada Reno Darren Dale - Cornell Justin Riley - MIT Mark Voorhies - UC San Francisco Nicholas Rougier - INRIA Nancy Grand Est Thomas Spura - Fedora project Many more! (~220 commit authors)
  • 28. IPython Open Source Academia Wrapup Outline 1 IPython: Interactive Python 2 The Life of an Open Source Project 3 Academia vs Open Source 4 Wrapup FP (UC Berkeley) IPython 3/20/13 26 / 34
  • 29. Support at the edges of academic funding Enthought, Austin, TX: Lots! Microsoft: WinHPC support, Visual Studio integration, Azure (thanks to Shahrokh Mortazavi). DoD/DRC Inc: funding through Sept. 2012 (thanks to Jose Unpingco and Chris Keees). NIH: via NiPy grant NSF: via Sage compmath grant Google: summer of code 2005, 2010. Tech-X Corp., Boulder, CO: Parallel/notebook (previous versions) Recent stable funding (2 years, 7 people, J. Taylor):
  • 30. Open Source: skills, tools and practices we need! A culture where things get done. Wildly collaborative Reproducible by necessity Version control, testing, documentation, public peer review, etc.
  • 31. Reward Structure in academia: we punish all of the above Departmental boundaries: interdisciplinary work is a great buzzword, not such a great career path. Computational heritage is built on code not on citations Continuous evolution vs publication milestones Authorship in collaborative works vs the first-author paper. Scholarship and intellectual effort embedded in the code.
  • 32. NumFOCUS: Open Code, Better Science Promote the health of our open source scientific computing ecosystem Support the development of multiple projects. Community-created and driven. A neutral ground for industry, academia and government to support scientific open source. 501(c)3 - donations are tax-exempt in the USA http://numfocus.org
  • 33. IPython Open Source Academia Wrapup Outline 1 IPython: Interactive Python 2 The Life of an Open Source Project 3 Academia vs Open Source 4 Wrapup FP (UC Berkeley) IPython 3/20/13 31 / 34
  • 34. The future of IPython: a 2-year roadmap Spring/summer 2013: IPython 1.0 Notebook document management (nbconvert) JavaScript internals cleanup Fall 2013 Interactive JavaScript API With callbacks to remote kernels. 2014 Multiuser server Simple to deploy Trusted (shell OK) Unix users in a lab, group, class, etc. https://github.com/ipython/ipython/wiki/Roadmap:-IPython
  • 35. In closing: our vision of scientific computing Build on the right abstractions The kernel: unify interactive and parallel computing → you only have one brain! A single protocol: many kernels, many clients. Communications and logging the protocol is the notebook file format. Insight and communication (Hamming) “Literate computing” vs “literate programming”. Build a community and an ecosystem “How to Scale a Code in the Human Dimension”, M. Turk, http://arxiv.org/abs/1301.7064.
  • 36. In closing: our vision of scientific computing Build on the right abstractions The kernel: unify interactive and parallel computing → you only have one brain! A single protocol: many kernels, many clients. Communications and logging the protocol is the notebook file format. Insight and communication (Hamming) “Literate computing” vs “literate programming”. Build a community and an ecosystem “How to Scale a Code in the Human Dimension”, M. Turk, http://arxiv.org/abs/1301.7064.
  • 37. In closing: our vision of scientific computing Build on the right abstractions The kernel: unify interactive and parallel computing → you only have one brain! A single protocol: many kernels, many clients. Communications and logging the protocol is the notebook file format. Insight and communication (Hamming) “Literate computing” vs “literate programming”. Build a community and an ecosystem “How to Scale a Code in the Human Dimension”, M. Turk, http://arxiv.org/abs/1301.7064.
  • 38. John D. Hunter, 1968-2012: http://matplotlib.org Memorial fund: http://numfocus.org/johnhunter