IPython























































IPython
IPython Logo.png

Screenshot of IPython 6.x on Mac OS, showing the computation of a fourrier transform using numpy.
IPython Shell

Original author(s)
Fernando Perez[1]
Developer(s) Others
Initial release 2001; 18 years ago (2001)[1]
Stable release
7.4.0
/ 21 March 2019; 0 days ago (2019-03-21)[2]

Repository
  • github.com/ipython/ipython
Edit this at Wikidata
Written in
Python, JavaScript, CSS, HTML
Operating system Cross-platform
Type Shell
License BSD
Website ipython.org

IPython (Interactive Python) 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 interface 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.




Contents






  • 1 Parallel computing


  • 2 Other features


  • 3 End of Python 2 support


  • 4 Project Jupyter


  • 5 In the media


  • 6 Grants and awards


  • 7 See also


  • 8 References


  • 9 External links





Parallel computing




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.[3] This architecture abstracts out parallelism, enabling IPython to support many different styles of parallelism[4] 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


With the release of IPython 4.0, the parallel computing capabilities were made optional and released under the ipyparallel python package.


IPython frequently draws from SciPy stack[5] libraries like NumPy and SciPy, often installed alongside one of many Scientific Python distributions.[5] IPython provides integration with some libraries of the SciPy stack, notably matplotlib, producing inline graphs when in used with the Jupyter notebook. Python libraries can implement IPython specific hooks to customize rich object display. SymPy for example implements rendering of mathematical expressions as rendered LaTeX when used within IPython context.[6]



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.[7] Its default behavior is largely similar to Unix shells, but it allows customization and the flexibility of executing code in a live Python environment. Using IPython as a shell replacement is less common and it is now recommended to use Xonsh which provide most of the IPython feature with better shell integrations.



End of Python 2 support


IPython 5.x (Long Time Support) series will be the last version of IPython to support Python 2. The IPython project pledged to not support Python 2 beyond 2020[8] by being one of the first project to join the Python 3 Statement, the 6.x series is only compatible with Python 3 and above. It is still possible though to run a IPython kernel and a Jupyter Notebook server on different Python versions allowing user to still access Python 2 on newer version of Jupyter.



Project Jupyter


In 2014, Fernando Pérez announced a spin-off project from IPython called Project Jupyter.[9] IPython continued to exist as a Python shell and kernel for Jupyter, but the notebook interface and other language-agnostic parts of IPython were moved under the Jupyter name.[10][11] Jupyter is language agnostic and its name is a reference to core programming languages supported by Jupyter, which are Julia, Python, and R.[12]


Jupyter Notebook (formerly IPython Notebooks) is a web-based interactive computational environment for creating, executing, and visualizing Jupyter notebooks. It is similar to the notebook interface of other programs such as Maple, Mathematica, and SageMath, a computational interface style that originated with Mathematica in the 1980s.[13] It supports execution environments (aka kernels) in dozens of languages. By default Jupyter Notebook ships with the IPython kernel but there are over 100 Jupyter kernels as of May 2018.




IPython Notebook interface



In the media


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



Grants and awards


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


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.[18]


In January 2014, it won the Jolt Productivity Award[19] 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.[20]


In May 2018, it was awarded the 2017 ACM Software System Award[21]. It is the largest team to have won the award[22].



See also




  • Python (programming language)

  • Electronic lab notebook

  • SageMath

  • Project Jupyter



References





  1. ^ ab "The IPython notebook: a historical retrospective". Fernando Perez Blog. 8 January 2012..mw-parser-output cite.citation{font-style:inherit}.mw-parser-output .citation q{quotes:"""""""'""'"}.mw-parser-output .citation .cs1-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .citation .cs1-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration{color:#555}.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration span{border-bottom:1px dotted;cursor:help}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output code.cs1-code{color:inherit;background:inherit;border:inherit;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;font-size:100%}.mw-parser-output .cs1-visible-error{font-size:100%}.mw-parser-output .cs1-maint{display:none;color:#33aa33;margin-left:0.3em}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-right{padding-right:0.2em}


  2. ^ "Releases - ipython/ipython". Retrieved 21 March 2019 – via GitHub.


  3. ^ Helen, Shen (2014). "Interactive notebooks: Sharing the code". Nature. 515 (7525): 151–152. doi:10.1038/515151a. PMID 25373681.


  4. ^ "Using IPython for Parallel computing - IPython docs".


  5. ^ ab "SciPy Stack".


  6. ^ "Printing — SymPy 1.1 documentation". docs.sympy.org. Retrieved 2018-04-11.


  7. ^ McKinney, Wes (2012). "Chapter 3". Python for Data Analysis. ISBN 978-1-449-31979-3.


  8. ^ "Release of IPython 5.0 – Jupyter Blog". Jupyter Blog. 2016-07-08. Retrieved 2018-04-11.


  9. ^ "Project Jupyter // Speaker Deck".


  10. ^ "The Notebook, Qt console and a number of other pieces are now parts of Jupyter".


  11. ^ "The Big Split™".


  12. ^ https://github.com/jupyter/design/wiki/Jupyter-Logo


  13. ^ ab Somers, James. "The Scientific Paper Is Obsolete". The Atlantic. Retrieved 2018-04-10.


  14. ^ Koziol, Conrad (12 September 2005). "Introducing IPython". NewsForge.


  15. ^ "IPython Presentations".


  16. ^ Pérez, Fernando; Granger, Brian E. (2007). "IPython: A System for Interactive Scientific Computing" (PDF). Computing in Science & Engineering. 9 (3): 21–29. doi:10.1109/MCSE.2007.53. Archived from the original (PDF) on 2 June 2010. Retrieved 30 July 2015.


  17. ^ "Announcement in scipy mailing list".


  18. ^ "IPython Announcement".


  19. ^ "Jolt Productivity Award write-up in Dr. Dobb's".


  20. ^ "$6M for UC Berkeley and Cal Poly to expand and enhance open-source software for scientific computing and data science". Retrieved 13 August 2015.


  21. ^ "Recent Software System Award News".


  22. ^ "Jupyter receives the ACM Software System Award".




External links




  • Official website Edit this at Wikidata

  • Inline graphs

  • Project Jupyter




Comments

Popular posts from this blog

Information security

Volkswagen Group MQB platform

刘萌萌