IPython

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

IPython
220px
220px
IPython Shell
Original author(s) Fernando Perez[1]
Developer(s) Others
Initial release 2001; 23 years ago (2001)[1]
Stable release 4.0.1 / 25 November 2015; 8 years ago (2015-11-25)
Preview release 4.1.dev
Written in Python, JavaScript, CSS, HTML
Operating system Cross-platform
Type Shell
License BSD
Website www.ipython.org

IPython is a command shell for interactive computing in multiple programming languages, originally developed for the Python programming language, that offers introspection, rich media, shell syntax, tab completion, and history. IPython provides the following features:

  • Interactive shells (terminal and Qt-based).
  • A browser-based notebook with support for code, text, mathematical expressions, inline plots and other media.
  • Support for interactive data visualization and use of GUI toolkits.
  • Flexible, embeddable interpreters to load into one's own projects.
  • Tools for parallel computing.

Parallel computing

File:IpythonArchitecture.png
Architectural View of IPython's parallel machinery

IPython is based on an architecture that provides parallel and distributed computing. IPython enables parallel applications to be developed, executed, debugged and monitored interactively. Hence, the I (Interactive) in IPython.[2] This architecture abstracts out parallelism, which enables IPython to support many different styles of parallelism[3] including:

  • Single program, multiple data (SPMD) parallelism
  • Multiple program, multiple data (MIMD) parallelism
  • Message passing using MPI
  • Task parallelism
  • Data parallelism
  • Combinations of these approaches
  • Custom user defined approaches

Notebook

IPython Notebook is a web-based interactive computational environment for creating IPython notebooks. An IPython notebook is a JSON document containing an ordered list of input/output cells which can contain code, text, mathematics, plots and rich media.

IPython notebooks can be converted to a number of open standard output formats (HTML, HTML presentation slides, LaTeX, PDF, ReStructuredText, Markdown, Python) through 'Download As' in the web interface and 'ipython nbconvert' in a shell.

File:IPython Notebook Workflows.png
IPython Notebook workflows
File:IPython-notebook.png
IPython Notebook interface

IPython Notebook provides a browser-based REPL built upon a number of popular Open Source libraries:

IPython Notebook connects to an IPython kernel. As of the 2.3 release[4][5] (October 2014), there are currently 49 IPython-compatible kernels for as many programming languages, including Python, R, Julia and Haskell.[6]

IPython Notebook was added to IPython in the 0.12 release[7] (December 2011). IPython Notebook has been compared to Maple, Mathematica, and Sage.

IPython notebooks frequently draw from SciPy stack[8] libraries like NumPy and SciPy, often installed along with IPython from one of many Scientific Python distributions.[8]

Other features

IPython allows non-blocking interaction with Tkinter, PyGTK, PyQt/PySide and wxPython (the standard Python shell only allows interaction with Tkinter). IPython can interactively manage parallel computing clusters using asynchronous status callbacks and/or MPI. IPython can also be used as a system shell replacement.[9] Its default behavior is largely similar to Unix shells, but it allows customization and the flexibility of executing code in a live Python environment.

Project Jupyter

In 2014, Fernando Perez announced a spin-off project from IPython called Project Jupyter. IPython will continue to exist as a Python shell and a kernel for Jupyter, while the notebook and other language-agnostic parts of IPython will move under the Jupyter name.[10] Jupyter added support for Julia, R, Haskell and Ruby.

In the media

IPython has been mentioned in the popular computing press,[11] and it has a presence at scientific conferences.[12] For scientific and engineering work, it is often presented as a companion tool to matplotlib.[13]

Grants and awards

Beginning 1 January 2013, the Alfred P. Sloan Foundation announced that it would support IPython development for two years.[14]

On 23 March 2013, Fernando Perez was awarded the Free Software Foundation Advancement of Free Software award for IPython.

In August 2013, Microsoft made a donation of $100,000 to sponsor IPython’s continued development.[15]

In January 2014, it won the Jolt Productivity Award[16] from Dr. Dobb's in the category of coding tools. In July 2015, the project won a funding of $6 million from Gordon and Betty Moore Foundation, Alfred P. Sloan Foundation and Leona M. and Harry B. Helmsley Charitable Trust.[17]

See also

References

  1. 1.0 1.1 The IPython notebook: a historical retrospective, 8 January 2012, Fernando Perez Blog
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. Lua error in package.lua at line 80: module 'strict' not found.
  6. Lua error in package.lua at line 80: module 'strict' not found.
  7. Lua error in package.lua at line 80: module 'strict' not found.
  8. 8.0 8.1 Lua error in package.lua at line 80: module 'strict' not found.
  9. Lua error in package.lua at line 80: module 'strict' not found.
  10. Lua error in package.lua at line 80: module 'strict' not found.
  11. Lua error in package.lua at line 80: module 'strict' not found.
  12. Lua error in package.lua at line 80: module 'strict' not found.
  13. Lua error in package.lua at line 80: module 'strict' not found.
  14. Lua error in package.lua at line 80: module 'strict' not found.
  15. Lua error in package.lua at line 80: module 'strict' not found.
  16. Lua error in package.lua at line 80: module 'strict' not found.
  17. Lua error in package.lua at line 80: module 'strict' not found.

External links

  • Lua error in package.lua at line 80: module 'strict' not found.